How to obtain a square matrix from a column matrix

6 visualizaciones (últimos 30 días)
Parthu P
Parthu P el 8 de En. de 2020
Comentada: Rik el 8 de En. de 2020
Hi
How to get matrix AA from matrix A such that it matches with X and Y scales in following picture?
New Microsoft PowerPoint Presentation (2).jpg
  2 comentarios
Rik
Rik el 8 de En. de 2020
With what values should the empty places be filled?
Parthu P
Parthu P el 8 de En. de 2020
Thanks Rik,
empty places be filled with values from matrix A.

Iniciar sesión para comentar.

Respuestas (1)

Rik
Rik el 8 de En. de 2020
So like this?
AA=repmat(A,1,9);
  2 comentarios
Parthu P
Parthu P el 8 de En. de 2020
Thanks Rik,
Actually I tried this before but it replicates all columns in same sequence. However, I want AA to match sequence/scale of X and Y. It means AA will not have any entire row or column values matching with other row or columns of AA.
Rik
Rik el 8 de En. de 2020
You lack a good description of your desired outcome. Given these three vectors, what exact values should AA contain and how do you derive them?

Iniciar sesión para comentar.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by