Matrix Dimensions Solution Needed

6 visualizzazioni (ultimi 30 giorni)
Abdullah Masood
Abdullah Masood il 9 Giu 2020
Modificato: KSSV il 9 Giu 2020
Dear Friends how to find the dimension of matrix in matlab

Risposta accettata

KSSV
KSSV il 9 Giu 2020
Modificato: KSSV il 9 Giu 2020
Read about the function size. If A is your matrix, size give you the dimensions.
[m,n] = size(A) ; % m -rows, n - columns
[m,n,p] = size(A) ; %m- rows, n - columns, p - third diemsnion.

Più risposte (0)

Categorie

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by