Plotting specified columns using plot function
1 view (last 30 days)
Show older comments
Mohammad Daud
on 29 Jan 2019
Commented: Kevin Phung
on 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
0 Comments
Accepted Answer
Kevin Phung
on 29 Jan 2019
Edited: Kevin Phung
on 29 Jan 2019
plot(A(:,3),A(:,[25 27 30 32 35]))
2 Comments
More Answers (0)
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!