Express a matrix as product of elementary matrices

18 次查看(过去 30 天)
How to express a matrix as a product of some necessary elementary matrices? Is there any function in matlab?

回答(1 个)

KSSV
KSSV 2023-4-1
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

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by