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

3 visualizzazioni (ultimi 30 giorni)
Ex: A=[ 1 2 3; 4 5 6; 7 8 9];

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by