Aug-19-2021, 09:05 AM
(This post was last modified: Aug-20-2021, 05:59 AM by Yoriz.
Edit Reason: Added code tags
)
Hi,
I need to build a transfer function ( see the attached screenshot)
Regards,
I need to build a transfer function ( see the attached screenshot)
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,