error in indexing mode
조회 수: 2 (최근 30일)
이전 댓글 표시
hi, i wanna size of a matrix but below error happens:
Indexing cannot yield multiple results.
Error in Untitle222d2 (line 2)
[N,M]=size(V)
OR
V =
1.0350 0.9710 0.9680
Subscript indices must either be real positive integers or logicals.
Error in Untitle222d2 (line 2)
N=size(V)
what does this means.
댓글 수: 0
답변 (2개)
C B
2021년 11월 26일
V= [ 1.0350 0.9710 0.9680]
[numRows,numCols] = size(V)
N=size(V)
Working fine. You have some other query can you elaborate more please.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!