Plotting specified columns using plot function

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

 Accepted Answer

plot(A(:,3),A(:,[25 27 30 32 35]))

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!