numel
fi
배열의 데이터 요소 개수
설명
예제
2차원 fi 배열의 요소 개수
fi
객체로 구성된 2×3 배열을 생성합니다.
X = fi(ones(2,3),1,24,12)
X = 1 1 1 1 1 1 DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 24 FractionLength: 12
numel
이 행렬에서 요소 6개를 셉니다.
n = numel(X)
n = 6
다차원 fi 배열의 요소 개수
fi
객체로 구성된 2×3×4 배열을 생성합니다.
X = fi(ones(2,3,4),1,24,12)
X = (:,:,1) = 1 1 1 1 1 1 (:,:,2) = 1 1 1 1 1 1 (:,:,3) = 1 1 1 1 1 1 (:,:,4) = 1 1 1 1 1 1 DataTypeMode: Fixed-point: binary point scaling Signedness: Signed WordLength: 24 FractionLength: 12
numel
이 행렬에서 요소 24개를 셉니다.
n = numel(X)
n = 24
입력 인수
A
— 입력 배열
스칼라 | 벡터 | 행렬 | 다차원 배열
입력 배열로, fi
객체의 스칼라, 벡터, 행렬 또는 다차원 배열로 지정됩니다.
복소수 지원: 예
확장 기능
C/C++ 코드 생성
MATLAB® Coder™를 사용하여 C 코드나 C++ 코드를 생성할 수 있습니다.
버전 내역
R2013b에 개발됨
참고 항목
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)