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?
Ältere Kommentare anzeigen
In function editor:
- function A = practice(x)
- A = sin(x);
In Command Window:
>> fplot('practice',[-10 10])
2 Kommentare
Matthew Tom
am 14 Nov. 2015
Walter Roberson
am 15 Nov. 2015
fplot(@(x) sin(x), [-10 10])
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!