Plot 2d line from matrix data
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Italy
am 6 Mär. 2013
Kommentiert: Rozh Al-Mashhdi
am 7 Jan. 2018
Hey,
I have 2d matrix data (100X2) and I want to plot line from it.
For example: each row is one point, (1,1) = X & (1,2) = Y. From all those 100 points I want to draw a line.
10x,
Itay
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 6 Mär. 2013
Bearbeitet: Azzi Abdelmalek
am 6 Mär. 2013
plot(A(:,1),A(:,2))
Example
A=[1:100;rand(1,100)]'
plot(A(:,1),A(:,2))
3 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations 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!