array of interpolant created with csape
Show older comments
Hello,
How can I create an array with 2 indexes containing objects created with csape, something like: f{a,b}=csape({u,v,w},z);
The line above is accepted by matlab but if I call fnval I get an error: fnval(f{a,b},x) gives: Error using fn2fm (line 54) Input is not a function.
Thanks
Answers (1)
Muthu Annamalai
on 3 Jul 2013
0 votes
Looks like MATLAB function csape needs a first argument as a function handle!
2 Comments
Brad
on 4 Jul 2013
Categories
Find more on Spline Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!