Borrar filtros
Borrar filtros

How to solve a trasfer function absolute value whit the tf function command.

7 visualizaciones (últimos 30 días)
I'm tryng to implement a control system method in matlab but I have a problem in plotting a curve so I don't find a solution to compute the absolute value of a tranfer function declared with the classical command "tf". The function "abs()" is not useful so I ask you which the way to solve the problem. Thank you so much.
  5 comentarios
Graz  Mand
Graz Mand el 20 de Ag. de 2013
Not mathematically! I'm tryng to implement a control system method but the curves I want to plot, are in function of the absolute value of other functions.
I want to plot, for example C1=|P1|/(1-|P2|);
the problem is that P1 e P2 are transfer function too! Please help me! It's important for my work..
Graz  Mand
Graz Mand el 20 de Ag. de 2013
If I want to plot the Bode diagram of P1 or P2 is not a problem, but that's for C1..

Iniciar sesión para comentar.

Respuestas (2)

Azzi Abdelmalek
Azzi Abdelmalek el 20 de Ag. de 2013
Example
N=1;
D=[1 10]
model=tf(N,D) % your transfer function
Now what do you mean by: An absolute value of a transfer function
  7 comentarios
Graz  Mand
Graz Mand el 20 de Ag. de 2013
Editada: Graz Mand el 20 de Ag. de 2013
Anyways with p or w the plot of P1 results the same one..
Azzi Abdelmalek
Azzi Abdelmalek el 20 de Ag. de 2013
Editada: Azzi Abdelmalek el 20 de Ag. de 2013
It's not f=P1/(1-P1) but
f=P1./(1-P1)
plot(w,f)

Iniciar sesión para comentar.


Negin Abaeian
Negin Abaeian el 12 de Dic. de 2015
Hey Graz.
I can see the post belongs to long ago. But did you ever find the answer to this question? I'm trying to plot the exact same transfer function for an Audio application.

Community Treasure Hunt

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

Start Hunting!

Translated by