[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: array dimensions
David Fanning <email@example.com> wrote:
>Richard G. French (firstname.lastname@example.org) writes:
>> Now that you mention SMOOTH, one of my pet peeves is that
>> y=SMOOTH(array,n) gives an error message when n=1. There are lots of
>> instances where the degree of smoothing is calculated on the fly,
>Now, I am known in some circles as having a pretty
>fertile imagination, but I have to admit that one of the
>things that would *never* occur to me if I was writing
>a SMOOTH function is that someone would use it if they
>*didn't* want to smooth anything.
Well, I have exactly the same experience as RGF: wanting a variable
degree of smoothing, which may well be none at all. Gratuitous
error messages are unwelcome (at most it should *warn* you that
you have set smoothing to 1).
William M Connolley | email@example.com | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!