array of interpolant created with csape

1 次查看(过去 30 天)
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

回答(1 个)

Muthu Annamalai
Muthu Annamalai 2013-7-3
Looks like MATLAB function csape needs a first argument as a function handle!
  2 个评论
Brad
Brad 2013-7-4
Can you precise your answer please ?
Jan
Jan 2013-7-4
The doc csape text does not look like the 1st input is a function handle.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Spline Postprocessing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by