Matrix Dimensions Solution Needed

6 vues (au cours des 30 derniers jours)
Abdullah Masood
Abdullah Masood le 9 Juin 2020
Modifié(e) : KSSV le 9 Juin 2020
Dear Friends how to find the dimension of matrix in matlab

Réponse acceptée

KSSV
KSSV le 9 Juin 2020
Modifié(e) : KSSV le 9 Juin 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.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by