array of interpolant created with csape

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일

0 개 추천

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Spline Postprocessing에 대해 자세히 알아보기

질문:

2013년 7월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by