How can I find order (or size) of a defined matrix (2D Array)?

3 visualizaciones (últimos 30 días)
Dev
Dev el 23 de Ag. de 2022
Comentada: Star Strider el 24 de Ag. de 2022
Ex: A=[ 1 2 3; 4 5 6; 7 8 9];

Respuesta aceptada

Star Strider
Star Strider el 23 de Ag. de 2022
Try this
A=[ 1 2 3; 4 5 6; 7 8 9];
szA = size(A)
szA = 1×2
3 3
.

Más respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by