Express a matrix as product of elementary matrices

10 views (last 30 days)
How to express a matrix as a product of some necessary elementary matrices? Is there any function in matlab?

Answers (1)

KSSV
KSSV on 1 Apr 2023
If you have a number, you can try to get its multiples or product of numbers using:
x = 10;
v = 2:x/2;
c = v(mod(x,v)==0)
c = 1×2
2 5

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!