How can I use Function handle with arrays?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Raja Vardhan Reddy Kothakapu
le 14 Mai 2019
Commenté : Raja Vardhan Reddy Kothakapu
le 14 Mai 2019
I'm trying to use function handle with arrays. My objective is to create a function which picks a particular element of one dimensional row matrix. It need to output the particular element when I pass matrix and index as arguments. I know there are other ways to do this, but I'm very much interested to see whether this task can be done by function handle or not
Thanks
syms I t
G = matlabFunction(I(t))
A = [1 2 3];
G(A,1)
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Number Theory dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!