add columns to matrix
Show older comments
A=(1 2 3 4)
B=(2 4 5 6 8 9 4 1)
C=[A,B]
C=1 0
2 0
3 0
4 0
0 2
0 4
0 5
0 6
0 8
0 9
0 4
0 1
like this i would like to generate matrix .Please help me in this how to write a program .
I need to add like this six files as shown above upto size 1084x6 matrix.
Accepted Answer
More Answers (1)
solleti prabhakarchary
on 7 Aug 2022
Edited: solleti prabhakarchary
on 7 Aug 2022
Categories
Find more on Contrast Adjustment 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!