Unable to use a value of type function_handle as an index.
16 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Waseem Akhtar
il 18 Feb 2021
Commentato: Waseem Akhtar
il 18 Feb 2021
hi all,
I am trying to perform double integration using following syntax:
Gxh=@(xpp,zpp) (xpp+zpp)
GXH=integral2(Gxh,aa,bb,cc,dd);
but i am getting following error message:
"Unable to use a value of type function_handle as an index."
I have already tried to change the names of Gxh and GXH but to no avail. Please help me resolve the issue!
2 Commenti
Just Manuel
il 18 Feb 2021
When I assign some integers for aa, bb, cc and dd, your code works for me.
What is your full error message? What are aa, bb, cc and dd in your code?
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!