When I plot a function using the fplot command, for example sin(x), the fplot command keeps on displaying the linear graph y = x. How do I resolve this issue?
Mostrar comentarios más antiguos
In function editor:
- function A = practice(x)
- A = sin(x);
In Command Window:
>> fplot('practice',[-10 10])
2 comentarios
Matthew Tom
el 14 de Nov. de 2015
Walter Roberson
el 15 de Nov. de 2015
fplot(@(x) sin(x), [-10 10])
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Lighting, Transparency, and Shading en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!