Borrar filtros
Borrar filtros

Express a matrix as product of elementary matrices

4 visualizaciones (últimos 30 días)
Shaukhin
Shaukhin el 1 de Abr. de 2023
Respondida: KSSV el 1 de Abr. de 2023
How to express a matrix as a product of some necessary elementary matrices? Is there any function in matlab?
  1 comentario
Dyuman Joshi
Dyuman Joshi el 1 de Abr. de 2023
What does "necessary elementary matrices" mean?
Can you give an example?

Iniciar sesión para comentar.

Respuestas (1)

KSSV
KSSV el 1 de Abr. de 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

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by