how to plot a single axis graph

Respuestas (1)

Walter Roberson
Walter Roberson el 27 de Abr. de 2020

1 voto

Vectorize your code by using .^ instead of ^
You can either define an anonymous function for the calculation, and use fplot() with that, OR you can define x as a list of particular values, and calculate y from there, and plot(x,y)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 27 de Abr. de 2020

Comentada:

el 14 de Mayo de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by