Rank(ab)

16 views (last 30 days)
Hailey Christian
Hailey Christian on 28 Sep 2021
Answered: Steven Lord on 28 Sep 2021
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)

Steven Lord
Steven Lord on 28 Sep 2021
Do you mean you want to augment the matrix a with the vector b?
A = [1 2 3; 4 5 6; 7 8 9]
A = 3×3
1 2 3 4 5 6 7 8 9
b = [10; 11; 12]
b = 3×1
10 11 12
Ab = [A, b]
Ab = 3×4
1 2 3 10 4 5 6 11 7 8 9 12

Categories

Find more on Linear Algebra in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!