From: "John D'Errico" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: root (cube, 4th, nth)
Date: Thu, 18 Feb 2010 15:15:09 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 38
Message-ID: <hljlht$jc8$>
References: <hljkjs$i04$>
Reply-To: "John D'Errico" <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1266506109 19848 (18 Feb 2010 15:15:09 GMT)
NNTP-Posting-Date: Thu, 18 Feb 2010 15:15:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: comp.soft-sys.matlab:609300

"Riyman " <> wrote in message <hljkjs$i04$>...
> Hi,
> what are the commands to find:
> cube root,
> 4th root
> nth root
> Thanks for your help,
> R.

The trick here is to use the capabilities of matlab.
The lookfor function helps you to find the name
of a function that you know must exist, but you
simply don't know what it might be called.

You want to compute some root of a number. So
why not try this:

lookfor root

If you did that, you would have found a few
functions that compute roots.

Next, you might benefit from looking at some of
the elementary functions in matlab. So try this:

help elfun

Look there. You will find a few functions to
compute roots. Finally, you should recognize that
a root is simply a power. So

lookfor power

might give something interesting.