Matrix Dimensions Solution Needed

1 Ansicht (letzte 30 Tage)
Abdullah Masood
Abdullah Masood am 9 Jun. 2020
Bearbeitet: KSSV am 9 Jun. 2020
Dear Friends how to find the dimension of matrix in matlab

Akzeptierte Antwort

KSSV
KSSV am 9 Jun. 2020
Bearbeitet: KSSV am 9 Jun. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by