brace indexing not supported

7 visualizaciones (últimos 30 días)
Maurilio Matracia
Maurilio Matracia el 29 de Jun. de 2020
Comentada: madhan ravi el 29 de Jun. de 2020
Hello everyone, could you please give me hints on how to fix this error in the figure attached?
Thank you in advance!

Respuestas (1)

madhan ravi
madhan ravi el 29 de Jun. de 2020
  2 comentarios
Maurilio Matracia
Maurilio Matracia el 29 de Jun. de 2020
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 el 29 de Jun. de 2020
d = {@sin,@cos}
d{1}(0)
d{2}(0)

Iniciar sesión para comentar.

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by