Matrix Dimensions Solution Needed

1 visualización (últimos 30 días)
Abdullah Masood
Abdullah Masood el 9 de Jun. de 2020
Editada: KSSV el 9 de Jun. de 2020
Dear Friends how to find the dimension of matrix in matlab

Respuesta aceptada

KSSV
KSSV el 9 de Jun. de 2020
Editada: KSSV el 9 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by