array of interpolant created with csape

2 ビュー (過去 30 日間)
Brad
Brad 2013 年 7 月 3 日
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 Center および File ExchangeSpline Postprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by