brace indexing not supported

조회 수: 6 (최근 30일)
Maurilio Matracia
Maurilio Matracia 2020년 6월 29일
댓글: madhan ravi 2020년 6월 29일
Hello everyone, could you please give me hints on how to fix this error in the figure attached?
Thank you in advance!

답변 (1개)

madhan ravi
madhan ravi 2020년 6월 29일
  댓글 수: 2
Maurilio Matracia
Maurilio Matracia 2020년 6월 29일
Thanks, however I am trying to use indices because there are many of these functions and I can implement them in a for loop.
So my question is how to fix this problem still using brace indexing, since I think is the only way to stack function handles together.
madhan ravi
madhan ravi 2020년 6월 29일
d = {@sin,@cos}
d{1}(0)
d{2}(0)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by