필터 지우기
필터 지우기

Difference between Array,Cell array and Subscripted elements of an array..??

조회 수: 117 (최근 30일)
Hellow...Cud any one plz tell me the difference between these three terms... 1)Array 2)Cell array 3)subscripted elements of an array
plz reply...

채택된 답변

Matt Tearle
Matt Tearle 2012년 2월 9일
Array = a single variable (of any data type) that contains multiple content elements.
Cell array = a specific type of array in MATLAB; an array of class cell. This is the "everything" container in MATLAB -- it's essentially a meta data type, or a "container" data type. You can put anything inside a cell. A cell array, then, is a collection of cells (containers) containing whatever you want.
Subscripted elements = specific elements of an array, referenced by indexing into the array. E.g. x = [4,5,1,2,6] is an array of 5 doubles (double precision floating point numbers). Then x(2) is a subscripted reference to the second element of x (ie, 5).

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by