the use of fplot function
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
metin yilmaz
el 9 de Nov. de 2020
Respondida: Ameer Hamza
el 9 de Nov. de 2020
Would you please help me plot the function x^2 between [-2,2]?
This does not work, and would you please explain why that does not work? I think that fplot does not accept x^2 but why?
>> fplot(@(x^2)x, [-1,1]
fplot(@(x^2)x, [-1,1]
↑
Error: Unexpected MATLAB operator.
Thank you.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Line Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!