Using frq for phase greater than 180 degree
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
yashvin
il 19 Mar 2014
Modificato: Arkadiy Turevskiy
il 20 Mar 2014
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
0 Commenti
Risposta accettata
Arkadiy Turevskiy
il 20 Mar 2014
Modificato: Arkadiy Turevskiy
il 20 Mar 2014
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Time and Frequency Domain Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!