How can I make a linspaced matrix from two arrays
1 view (last 30 days)
Show older comments
a = [2,5,4]';
b = [4,7,6]';
In this case, I want to know a simple operation to get the matrix below from those two matrixes a and b.
c = [2,3,4; 5,6,7; 4,5,6];
I expected matlab to move like this;
c = [a:b];
But it didn't work.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!