Aug-19-2021, 09:05 AM
Hi,
I need to build a transfer function ( see the attached screenshot)[attachment=1229]
Regards,
I need to build a transfer function ( see the attached screenshot)[attachment=1229]
FS= (1-ZP.tanh(Te.s))/(1+ZP.tanh(Te.s)) s = control.TransferFunction.s x=Tep*s Fs=1/(Zp*np.tanh(x))I am getting following error:
Error:AttributeError Traceback (most recent call last)
AttributeError: 'TransferFunction' object has no attribute 'tanh'
The above exception was the direct cause of the following exception:Error:TypeError Traceback (most recent call last)
<ipython-input-84-f6843dc03fc2> in <module>
----> 1 Fs=1/(Zp*np.tanh(x))
TypeError: loop of ufunc does not support argument 0 of type TransferFunction which has no callable tanh method
Can anyone help me on this code.Regards,