Why does the QUAD function within MATLAB return an error when I specify an integrand as a string expression representing a constant value?
Mostrar comentarios más antiguos
For example, if I try to integrate "f(t) = 3" using:
quad('3', 0, 1)
I receive the following error:
??? Attempted to access y(7); index out of bounds because numel(y)=1.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!