Rank(ab)
显示 更早的评论
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
回答(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]
类别
在 帮助中心 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!