From: Riyman on 18 Feb 2010 09:59 Hi, what are the commands to find: cube root, 4th root nth root Thanks for your help, R.
From: James Allison on 18 Feb 2010 10:11 x^(1/n) Riyman wrote: > Hi, > > what are the commands to find: > cube root, > 4th root > nth root > > Thanks for your help, > R.
From: Sadik on 18 Feb 2010 10:14 How about x.^(1/n) ? Best. "Riyman " <r_iman_2008(a)hotmail.com> wrote in message <hljkjs$i04$1(a)fred.mathworks.com>... > Hi, > > what are the commands to find: > cube root, > 4th root > nth root > > Thanks for your help, > R.
From: John D'Errico on 18 Feb 2010 10:15 "Riyman " <r_iman_2008(a)hotmail.com> wrote in message <hljkjs$i04$1(a)fred.mathworks.com>... > 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. John
|
Pages: 1 Prev: help me please!!urgent Next: modem.oqpsk with half sine wave (IEEE 802.15.4) |