Plotting specified columns using plot function

7 Ansichten (letzte 30 Tage)
Mohammad Daud
Mohammad Daud am 29 Jan. 2019
Kommentiert: Kevin Phung am 30 Jan. 2019
if I have a matrix that is A(33x120), how would you plot column 3 vs. columns 25,27,30,32,35 in one syntax?
thanks

Akzeptierte Antwort

Kevin Phung
Kevin Phung am 29 Jan. 2019
Bearbeitet: Kevin Phung am 29 Jan. 2019
plot(A(:,3),A(:,[25 27 30 32 35]))

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by