Akzeptierte Antwort

Image Analyst
Image Analyst am 22 Dez. 2013

0 Stimmen

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 ^.

Weitere Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Gefragt:

nam
am 22 Dez. 2013

Kommentiert:

nam
am 23 Dez. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by