Borrar filtros
Borrar filtros

2D non-Square Matrix to 2D square matrix

3 visualizaciones (últimos 30 días)
Manoj Kumar
Manoj Kumar el 27 de Abr. de 2019
Comentada: Manoj Kumar el 30 de Abr. de 2019
How to make a matrix A with diamension m x n , m,n>1 to a square matrix ?

Respuesta aceptada

madhan ravi
madhan ravi el 27 de Abr. de 2019
Editada: madhan ravi el 27 de Abr. de 2019
Wanted = nan(length(A));
Wanted(1:numel(A)) = A
  3 comentarios
madhan ravi
madhan ravi el 27 de Abr. de 2019
instead of nan() use zeros()
Manoj Kumar
Manoj Kumar el 30 de Abr. de 2019
Thanks a lot !

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by