Express a matrix as product of elementary matrices
12 次查看(过去 30 天)
显示 更早的评论
How to express a matrix as a product of some necessary elementary matrices? Is there any function in matlab?
1 个评论
回答(1 个)
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)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!