Matrix Dimensions Solution Needed

1 view (last 30 days)
Abdullah Masood
Abdullah Masood on 9 Jun 2020
Edited: KSSV on 9 Jun 2020
Dear Friends how to find the dimension of matrix in matlab

Accepted Answer

KSSV
KSSV on 9 Jun 2020
Edited: KSSV on 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.

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!