Prev: MATLAB on .NET without MCR?
Next: Problem with
From: Corey on 11 Jan 2010 15:40 I've been trying to do a linear regression. I try to use the functio regress I get the following error.??? Undefined function or method 'regress' for input arguments of type 'double'. for example: >> y = [1 2 3 4] y = 1 2 3 4 >> x = [1 2 3 4] x = 1 2 3 4 >> regress (y',x') ??? Undefined function or method 'regress' for input arguments of type 'double'.
From: Andy on 11 Jan 2010 15:51 "Corey " <cgw2102(a)columbia.edu> wrote in message <hig2bj$igu$1(a)fred.mathworks.com>... > I've been trying to do a linear regression. I try to use the functio regress I get the following error.??? Undefined function or method 'regress' for input arguments of type 'double'. > for example: > >> y = [1 2 3 4] > > y = > > 1 2 3 4 > > >> x = [1 2 3 4] > > x = > > 1 2 3 4 > > >> regress (y',x') > ??? Undefined function or method 'regress' for input arguments of type 'double'. Do you have the Statistics Toolbox? Type 'ver' at the command line to see.
From: Wayne King on 11 Jan 2010 15:52 "Corey " <cgw2102(a)columbia.edu> wrote in message <hig2bj$igu$1(a)fred.mathworks.com>... > I've been trying to do a linear regression. I try to use the functio regress I get the following error.??? Undefined function or method 'regress' for input arguments of type 'double'. > for example: > >> y = [1 2 3 4] > > y = > > 1 2 3 4 > > >> x = [1 2 3 4] > > x = > > 1 2 3 4 > > >> regress (y',x') > ??? Undefined function or method 'regress' for input arguments of type 'double'. Hi Corey, do you have the Statistics Toolbox in your installation? If you enter >>ver does the output contain an entry for that toolbox? Wayne
|
Pages: 1 Prev: MATLAB on .NET without MCR? Next: Problem with |