array of interpolant created with csape

3 Ansichten (letzte 30 Tage)
Brad
Brad am 3 Jul. 2013
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

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by