필터 지우기
필터 지우기

()-indexing must appear last in an index expression.

조회 수: 3 (최근 30일)
Manish Kumar
Manish Kumar 2019년 12월 20일
답변: Fangjun Jiang 2019년 12월 20일
Dear Experts,
I am facing a problem in:
Error: File: bc_line.m Line: 27 Column: 13
()-indexing must appear last in an index expression.
I have attached the matlab programming. I have not provided the input file.
Just look at the program and suggest some solution for the above problem.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2019년 12월 20일
A=rand(3,4);
size(A,2)
size(A)(2)
Error: Indexing with parentheses '()' must appear as the last operation of a
valid indexing expression.

카테고리

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