How to evaluate an array of function handles at different points
Afficher commentaires plus anciens
I have a cell array of 3 functions handles
phi={@ (x,y) 1-x-y,@ (x,y) x,@(x,y) y}
I need to evaluate it at 4 different points (0,0) (1,0) (0,1) and (1/3 1/3)
q=[0 1 0 1/3;0 0 1 1/3]
to create an 3x4 array of values where each row represents a function at four different points
How do I do it?
Thanks
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Type Conversion dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!