scatteredInterpolant function missing?!?! HELP!

Ok, I have a giant code, but I know this section is not working for me.
scatteredInterpolant(x,y,PRESS)
All of these are matrices 13x1 (for testing purposes).
I am getting back this error and have tried finding the function path but function is not found I guess.
HELP!!!

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 24 Jan. 2017

0 Stimmen

scatteredInterpolant requires R2013a or later. You are probably trying to use a release older than that. If so then see if you have TriScatteredInterp; if not then let us know which release you are using.

1 Kommentar

Navier_Stroke
Navier_Stroke am 24 Jan. 2017
Ohhh, that's probably it then. I'm using MATLAB_R2011b on my macbook. It my work on my desktop machine at the office then.... Thanks.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

KSSV
KSSV am 24 Jan. 2017

0 Stimmen

Try scatteredInterpolant([x y],PRESS)
x,y, PRESS should be column vectors of same length.

2 Kommentare

Navier_Stroke
Navier_Stroke am 24 Jan. 2017
Yes, they are the same length. But this does not work. I get the same error... that the scatteredInterpolant is an undefined function for input arguments of type double.
KSSV
KSSV am 24 Jan. 2017
Then version problem..as Walter answered.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Interpolation finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by