Respuesta aceptada

Image Analyst
Image Analyst el 22 de Dic. de 2013

0 votos

Hint: call linspace:
numberOfElements = 500; % for example.
x = linspace(-1, 2, numberOfElements);
% Now construct y
y = .......................
% now call plot
plot(....................
Give it a try. Not hard at all. Really really easy. Just remember to use .^ instead of ^.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

nam
el 22 de Dic. de 2013

Comentada:

nam
el 23 de Dic. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by