From: Sean Douglas on
i want to look at a matab built in function to understand it better. the particular function is: qr(x,0) , so i think there must be a built in function called qr.

can someone tell me how to pull up this build in mfile so i can look at the code that operates this built in function?

Thanks!
From: dpb on
Sean Douglas wrote:
> i want to look at a matab built in function to understand it better. the
> particular function is: qr(x,0) , so i think there must be a built
> in function called qr.
>
> can someone tell me how to pull up this build in mfile so i can look at
> the code that operates this built in function?

type qr.m

What you'll see, of course, is the help header including the note at the
bottom that QR is a built-in function. That means it is compiled code
and the source is not available as for functions implemented as m-files.

So, you'll have to recast your wishes to be in consonance w/ reality in
this particular instances... :)

--
From: us on
"Sean Douglas" <seanjdouglas(a)hotmail.com> wrote in message <i1qhe9$oij$1(a)fred.mathworks.com>...
> i want to look at a matab built in function to understand it better. the particular function is: qr(x,0) , so i think there must be a built in function called qr.
>
> can someone tell me how to pull up this build in mfile so i can look at the code that operates this built in function?
>
> Thanks!

well...
they are (often) based on old F/C-packages, eg, lapack...
-and- as the name clearly says: they are built-in(to) ML's engine

us
From: Sean Douglas on
dpb <none(a)non.net> wrote in message <i1qhmc$36e$1(a)news.eternal-september.org>...
> Sean Douglas wrote:
> > i want to look at a matab built in function to understand it better. the
> > particular function is: qr(x,0) , so i think there must be a built
> > in function called qr.
> >
> > can someone tell me how to pull up this build in mfile so i can look at
> > the code that operates this built in function?
>
> type qr.m
>
> What you'll see, of course, is the help header including the note at the
> bottom that QR is a built-in function. That means it is compiled code
> and the source is not available as for functions implemented as m-files.


it thought i should be able to see the built in function because i know there have been times when i screw up code from say maybe not defining enough variables. when this happens red lettering shows up in the command window showing what built in function has the error. When this happens i can click on the red letters which indicate the built in function and an mfile will come up that i can look at.
>
> So, you'll have to recast your wishes to be in consonance w/ reality in
> this particular instances... :)
>
> --

it thought i should be able to see the built in function because i know there have been times when i screw up code from say maybe not defining enough variables. when this happens red lettering shows up in the command window showing what built in function has the error. When this happens i can click on the red letters which indicate the built in function and an mfile will come up that i can look at.
>
From: us on
"Sean Douglas"
> it thought i should be able to see the built in function because i know there have been times when i screw up code from say maybe not defining enough variables. when this happens red lettering shows up in the command window showing what built in function has the error. When this happens i can click on the red letters which indicate the built in function and an mfile will come up that i can look at.
> >

???
can you show an example(?)...

us