The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: grpstats
Replies: 2   Last Post: May 9, 2013 3:05 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Tom Lane

Posts: 858
Registered: 12/7/04
Re: grpstats
Posted: May 9, 2013 2:22 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> [mean groupname N] =
> grpstats(AnalysisLatency,AnalysisGroup,{'mean','gname','numel'});
> ??? Undefined function or method 'grpstats' for input arguments of type
> ''cell'.

Type "which grpstats -all" and I suspect you will find grpstats is not on
your path. Type "ver" and I suspect you will find you don't have the
Statistics Toolbox in your new installation.

I agree the message you saw seems odd. MATLAB doesn't look only at the type
of the first input when it looks for a function or method. You have a cell
array of statistics names as your third input. If there had been a cell
method grpstats, it would have been used in preference to a plain function.

-- Tom

Date Subject Author
Read grpstats
Read Re: grpstats
Tom Lane
Read Re: grpstats

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.