I have matrix A =[nx1] & B = [nx1] I want to combine them into C = [ nx2]
Show older comments
I tried to do plot ( A,B) But it showed me 2 lines in one plot
Because I wanted to make A as x-axis & B as y axis in plot
Accepted Answer
More Answers (1)
C = [A, B]
for plotting A against B, you are right,
plot(A,B)
Categories
Find more on Annotations 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!