Re: anybody know how to find complex residue in Matlab?





"kiki" <lunaliu3@xxxxxxxxx> wrote in message
news:dgnah6$p7r$1@xxxxxxxxxxxxxxxxxxxx
>
>
> "Nasser Abbasi" <nma@xxxxxxxxx> wrote in message
> news:DXtXe.260$G64.191@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>
>>
>>
>> "kiki" <lunaliu3@xxxxxxxxx> wrote in message
>> news:dgl2mg$i95$1@xxxxxxxxxxxxxxxxxxxx
>>>
>>>
>>> The residue of f(z)=sin(z)/(z^2*(z-1)),
>>>
>>> at z=1,
>>>
>>> How to use Matlab to find it?
>>>
>>> the "residue" function is only for rational function?
>>>
>>>
>>


>>
>> If you have the extended syms toobox you can try
>>
>>
>>>> maple('evalf(residue(sin(z)/(z^2*(z-1)),z=1))')
>>
>> ans =
>>
>> .84147098480789650665250232163030
>>
>> I'll see if I can figure a more reqular Matlab solution.
>>
>> The extended Matlab syms toolbox is really powerfull, I recommend
>> getting it. It allows you to do much more powerfull syms stuff.
>>
>> Nasser
>>
>>
>>


>>
>
> Thanks a lot Nasser!
>
> You solved several of my biggest headaches.
>
> I did found our lab has the extended sysm toolbox, at least I can
> run the command you've shown above. It worked! GReat!
>
> The only problem is that how do I know those maple commands?
>
> There is no document for maple ... in matlab... I hope I can read
> some tutorial and pdf articles for using Maple in Matlab...
>
> Thanks a lot!


with the Matlab extended syms toolbox, you can communicate directly
with the Maple kernel. This means you can issue the Maple command as
if you are using Maple itself (except for the Maple plotting commands,
they will not work, all other Maple commands should work). i.e. you do
not need to type in the Matlab 'syms' commands and other Matlab syms
tricks, just the Maple command itself.

This means you need to know Maple commands.

You can download Maple PDF manuals for free from here (might have to
enter some info as a guest, or register for free)

http://www.maplesoft.com/products/maple/manuals/


Nasser



.



Relevant Pages

  • Re: solving n unknowns n equations
    ... syms dd ww ... If solveinvoked from Matlab works like the maple solvethat it ... invokes, then the order of outputs is not nailed down unless you ...
    (comp.soft-sys.matlab)
  • Re: solving n unknowns n equations
    ... syms dd ww ... If solveinvoked from Matlab works like the maple solvethat it ... invokes, then the order of outputs is not nailed down unless you ...
    (comp.soft-sys.matlab)
  • Re: anybody know how to find complex residue in Matlab?
    ... > I'll see if I can figure a more reqular Matlab solution. ... > The extended Matlab syms toolbox is really powerfull, ... The only problem is that how do I know those maple commands? ...
    (comp.soft-sys.matlab)
  • Re: symbolic calculation with the specified criteria to have a convergent integral.
    ... Matlab was calling the 'maple' kernel to do the symbolic calculation. ... syms r r1 r2 r12 lam beta; ... int(V1*V1*r1*r1, r1,0, inf) ...
    (comp.soft-sys.matlab)
  • Re: Mathematica Vs. Matlab
    ... Mathematica is a powerful CAS. ... Maple, REDUCE, MuPAD (it can be legally obtained for free at some circumstances, ... There are a number of programs to do numerical calculations with usual ... One example is Matlab; ...
    (sci.math.symbolic)