From: Peter on
I am running a script someone else wrote and I am having trouble using my nanmin, nanmax and all the rest of the nanxxx functions. They are installed on my computer and the path is set to find them.
Anybody have any suggestions?
I am running MatLab on Windows XP, v R2009b
Attached is error I get.



ITPSYS39 Cold Test 1
Start date = 20091222
Start day = 356.731
End date = 20091222
End day = 356.771
??? Undefined function or method 'nanmin' for input arguments of type 'double'.

Error in ==> sclogdout10 at 89
fprintf('Min temperature = %g\n', nanmin(a(:,2)));

Error in ==> sclogdat10tsts at 26
[T39a, N39a] = sclogdout10(E39a, A39a, B39a, L39a, 2009, 'ITPSYS39 Cold Test 1',
'sys39cold1');

Thanks,
Pete
From: us on
"Peter " <pgamache(a)whoi.edu> wrote in message <hpkkuo$atj$1(a)fred.mathworks.com>...
> I am running a script someone else wrote and I am having trouble using my nanmin, nanmax and all the rest of the nanxxx functions. They are installed on my computer and the path is set to find them.
> Anybody have any suggestions?
> I am running MatLab on Windows XP, v R2009b
> Attached is error I get.
>
>
>
> ITPSYS39 Cold Test 1
> Start date = 20091222
> Start day = 356.731
> End date = 20091222
> End day = 356.771
> ??? Undefined function or method 'nanmin' for input arguments of type 'double'.
>
> Error in ==> sclogdout10 at 89
> fprintf('Min temperature = %g\n', nanmin(a(:,2)));
>
> Error in ==> sclogdat10tsts at 26
> [T39a, N39a] = sclogdout10(E39a, A39a, B39a, L39a, 2009, 'ITPSYS39 Cold Test 1',
> 'sys39cold1');
>
> Thanks,
> Pete

a hint:
- they are all located in the stats tbx...

which nanmin -all; % <- they are where they should be...
ver stats; % <- make sure it's installed and you have a valid license...

us