필터 지우기
필터 지우기

array

조회 수: 1 (최근 30일)
nur izzati
nur izzati 2012년 4월 24일
what is the difference between array and matrices in matlab?

채택된 답변

James Tursa
James Tursa 2012년 4월 24일
The nomenclature typically is:
Scalars are 1x1
Vectors are 1xN or Nx1
Matrices are MxN
Arrays are typically 3D or more, MxNxPx...etc
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 4월 24일
And just to clarify: "array" covers all of the varieties.
It is like a "point" is a particular example of a "line", and a "line" is a particular example of a "rectangle", and a "rectangle" is a particular example of a "hyperrectangle", with all the levels above that also being referred to as "hyperrectangle" -- so you could use "hyperrectangle" to refer even to something that later turned out to be a point.
In practice, though, it is not uncommon for people to use "matrix" in MATLAB even when they mean a 3D or more array.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

nur izzati
nur izzati 2012년 4월 24일
ow, i see. but i think is it array- 1 row, i coloumn, matrix- more than 1 row and 1 column?

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by