Re: anybody know how to find complex residue in Matlab?
- From: "Nasser Abbasi" <nma@xxxxxxxxx>
- Date: Tue, 20 Sep 2005 21:46:16 GMT
"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
.
- References:
- Prev by Date: Notebook problem Matlab R14sp2
- Next by Date: How to convert RGB to different frequency
- Previous by thread: Re: anybody know how to find complex residue in Matlab?
- Next by thread: need help regarding the use of fuzzy logic controller in simulink to control the speed and current of a dc servomotor
- Index(es):
Relevant Pages
|