Using frq for phase greater than 180 degree

1 次查看(过去 30 天)
Hi
I have a gain of 5 and a phase of 300 degree at a frequency of w=1
I want to represent it as a frequency response data object. Can I know I do that using frd?
Thanks
Yash

采纳的回答

Arkadiy Turevskiy
Arkadiy Turevskiy 2014-3-20
编辑:Arkadiy Turevskiy 2014-3-20
From your earlier questions, it is clear this one is a continuation of what you asked previously. You should not be creating multiple questions, all asking the same thing, in slightly different ways. Especially, when you are not formulating your questions clearly, as is the case with this one.
To answer this question directly: yes. If you read doc page on frd you will see frd object is just a vector of complex numbers representing system response at specified frequencies.
For any given magnitude and phase, the complex number is mag*exp(i*2pi*phase/360), where phase is angle in degrees.
Whether phase is 300 deg or -60 or 660 or -420, the resulting complex number will be the same.
So, to answer your question, yes, you can represent gain of 5 and phase of 300 deg as an frd object.
Your real question though is whether you can somehow get back the value of 300 deg (and not -60 deg) from that object. The answer is no, if you use standard functions like bode.
So to really answer this question and the other two you asked on the same topic - if you need custom behavior, write your own custom code in MATLAB to do the computations.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Time and Frequency Domain Analysis 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by