how to draw graphing D

 Risposta accettata

Image Analyst
Image Analyst il 22 Dic 2013
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 ^.

Più risposte (0)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Richiesto:

nam
il 22 Dic 2013

Commentato:

nam
il 23 Dic 2013

Community Treasure Hunt

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

Start Hunting!

Translated by