From: Jeff on
Hi. I am using a student version of Matlab 2009a (7.0). I submitted a program to my professor which used the randi function, but she doesn't have it on her Matlab version (2007x). Why not?

I thought that the student version of Matlab was the one with the least libraries. randi seems too basic to have only been included in the last two years. But I cannot find out when randi I was included (I read the help page for randi).

How do I find out when randi was included, or what package it's in? I lost part credit for submitting a non-working program. :(

Thanks
From: John D'Errico on
"Jeff " <spREMOVEHITSjeffAT(a)SIGNoptonline.net> wrote in message <hm07pm$o5a$1(a)fred.mathworks.com>...
> Hi. I am using a student version of Matlab 2009a (7.0). I submitted a program to my professor which used the randi function, but she doesn't have it on her Matlab version (2007x). Why not?
>
> I thought that the student version of Matlab was the one with the least libraries. randi seems too basic to have only been included in the last two years. But I cannot find out when randi I was included (I read the help page for randi).
>
> How do I find out when randi was included, or what package it's in? I lost part credit for submitting a non-working program. :(
>

It is part of matlab itself, unfortunately for you,
introduced after 2007.

John
From: us on
"Jeff " <spREMOVEHITSjeffAT(a)SIGNoptonline.net> wrote in message <hm07pm$o5a$1(a)fred.mathworks.com>...
> Hi. I am using a student version of Matlab 2009a (7.0). I submitted a program to my professor which used the randi function, but she doesn't have it on her Matlab version (2007x). Why not?
>
> I thought that the student version of Matlab was the one with the least libraries. randi seems too basic to have only been included in the last two years. But I cannot find out when randi I was included (I read the help page for randi).
>
> How do I find out when randi was included, or what package it's in? I lost part credit for submitting a non-working program. :(
>
> Thanks

RANDI was introduced in ML ver 7.7 (r2008b)

http://www.mathworks.com/access/helpdesk/help/techdoc/rn/brqyzsl-1.html#brqyzsl-3

us
From: Rune Allnor on
On 23 Feb, 10:53, "us " <u...(a)neurol.unizh.ch> wrote:

> > How do I find out when randi was included, or what package it's in? I lost part credit for submitting a non-working program. :(
>

> RANDI was introduced in ML ver 7.7 (r2008b)

Hah! It's not often one sees it demonstrated *that* clearly:
The prof doesn't do her job and the student fries for it!

To the OP: That's life. Never expect *anything* from any
person you ever have to deal with. "People are incompetent
until proved otherwise" is the only attitude remotely close
to what you will actually experience real life.

Rune
From: Jeff on
Rune Allnor <allnor(a)tele.ntnu.no> wrote in message <a51e3095-cb96-494c-bfaa-90ce513f6089(a)g28g2000yqh.googlegroups.com>...
> On 23 Feb, 10:53, "us " <u...(a)neurol.unizh.ch> wrote:
>
> > > How do I find out when randi was included, or what package it's in? I lost part credit for submitting a non-working program. :(
> >
>
> > RANDI was introduced in ML ver 7.7 (r2008b)
>
> Hah! It's not often one sees it demonstrated *that* clearly:
> The prof doesn't do her job and the student fries for it!
>
> To the OP: That's life. Never expect *anything* from any
> person you ever have to deal with. "People are incompetent
> until proved otherwise" is the only attitude remotely close
> to what you will actually experience real life.
>
> Rune

Thanks for answer, Rune (ditto John and us).

Fortunately, she did not take off many points. I'm averaging an A- in the class and my final grade won't be below that. Thinking about it, I was not significantly hurt by her grading.

For other reasons - something that happened during week 1 - though, she is one of my most disliked teachers ever.