Re: How to extract the polynomial from the maple s
- From: "Paul Lusina" <paull@xxxxxxxxxx>
- Date: Thu, 27 Apr 2006 12:52:36 -0400
Dear Nasser,
Thanks for the information about accessing the maple manuel.
The main part of my problem is with the format of the output of
the series command in matlab:
series(L^3*H^2*W^5+(L^4*H^4+L^5*H^2)*W^6+(2*L^6*H^4+L^5*H^4+L^7*H^2)*W
^7+O(W^8),W,8)
Here, the polynomial that I'm interested in is embedded in some other
text i.e. 'series(' ... ',W,8)'. Do you have any suggestions on how
I could remove this extra text?
THanks again,
Paul
Nasser Abbasi wrote:
series(L^3*H^2*W^5+(L^4*H^4+L^5*H^2)*W^6+(2*L^6*H^4+L^5*H^4+L^7*H^2)
"Paul Lusina" <paull@xxxxxxxxxx> wrote in message
news:ef3270e.-1@xxxxxxxxxxxxxxxxxxx
Dear newsgroup:difficulty
The maple command 'series' outputs a fomat that I'm having
using in the matlab environment.series
I am using the maple symbolic toolbox to find the polynomial
expansion of a symbolic fraction of the form:
T = N(W,L,H)/D(W,L,H);
The command to find the series expression is:
no_coeff = 7;
S = maple('expand', maple('series', T, W, no_coeff+1));
The output of the function call is:
S =
*W.
^7+O(W^8),W,8)
I would like to assign the polynomial as a function of W to a
variable for further computations.
I have tried using:
maple('coeffs',S,W), but I get an error message:
??? Error using ==> sym.maple
Error, invalid arguments to coeffs
For individual coefficients the command
maple('coeff',S,W^5)
Gives the correct coefficient for the symbol W^5.
I'm operating on a Linux Debian platform using Matlab
7.0.4.352 (R14) Service Pack 2.
Any help would be much appreciated!
If you are using the maple command from inside Matlab, then to find
what the
maple commands are you simply need to get a maple manual. They are
the same
exact maple commands. No need to ask here what is the maple command
to do
this and that. There is a maple manual that shows all of these
commands.
If you do not have maple itself istalled, there are a free ones
here
<http://www.maplesoft.com/products/maple/manuals/>
you can also ask in the maple newsgroup.
Nasser
- References:
- How to extract the polynomial from the maple serie
- From: Paul Lusina
- Re: How to extract the polynomial from the maple serie
- From: Nasser Abbasi
- How to extract the polynomial from the maple serie
- Prev by Date: Re: PSD
- Next by Date: Re: Orthogonalized variables
- Previous by thread: Re: How to extract the polynomial from the maple serie
- Next by thread: how to transfer value into one parameter of the inline object?
- Index(es):
Relevant Pages
|