Show older comments
I am given the equations and know that the 3x3 matrix as a and then the numbers that are after my equal sign I assigned that b so it is a 3x1 and i have found the rank for a but i dont know how to do the rank(ab) i have tried typing it a few different was including rank(a b) rank(ab) rank (a;b) and none of them work
Answers (1)
Do you mean you want to augment the matrix a with the vector b?
A = [1 2 3; 4 5 6; 7 8 9]
b = [10; 11; 12]
Ab = [A, b]
Categories
Find more on Function Creation 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!