Problem with using a commando
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
To create a crossbar matrix for those points that we want to plot, we can use one of these ways:
P=[x;y]=[p1 p2 ... pn]
x and y are row vectors of length n of x and y coordinates points, while Pi is column vector with coordinates for a point. If we want to plot a curve with x and y coordinates with the commando:
>>plot(P(1,:), P(2,:))
But I really don't know how to use it, I mean, what values belongs to respective index?
For example if I have those coordinates: (0,1), (1,1), (0,0), (1,0) - where should I put these values in the commando?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!