Add new column at the end of matrix
Show older comments
I have a 3x3 matrix i want to add a column at the end of matrix with A=[1,2,3]'
Answers (1)
KSSV
on 11 Sep 2020
A = rand(3) ;
B = [1 2 3]' ;
C = [A B]
Categories
Find more on Numeric Types 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!