이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
SCLRCMPRS squeezes nonscalar arrays to scalars, if possible.
SCLRCMPRS(X) returns a scalar element if the array X is only the repetition of this scalar, X otherwise.
[X1,X2,...,Xn] = SCLRCMPRS(X1,X2,...,Xn) replaces non-scalar arrays having the same scalar repeated, with the scalars.
Example:
>> c1 = magic(4); c2 = repmat(2,5); c3 = 15; c4 = [9 9];
>> [c1,c2,c3,c4] = SCLRCMPRS(c1,c2,c3,c4)
c1 =
16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
c2 =
2
c3 =
15
c4 =
9
인용 양식
Mukhtar Ullah (2026). SCLRCMPRS (https://kr.mathworks.com/matlabcentral/fileexchange/6420-sclrcmprs), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0.0 | Renamed to SCLRCMPRS |
