[討論] 從波德圖求出轉移函數

作者: tkufc (阿東)   2019-11-26 17:02:33
大家好,我是matlab的新手,想請教各位個問題
我有筆資料
https://imgur.com/a/BFNbnhk
畫出來的圖形是這樣
https://imgur.com/a/MdAehrX
我在試著找出轉移函數
大家有建議的方法嗎
我有找到一個函式'tfest'
不知道這個函式是不是能求出tf
我的程式碼如下:
response=Mag.*exp(1i*(Pha*pi)/180);
Ts=0.1
w=Freq*2*pi;
gfr=frd(response,w,Ts);
sys=tfest(gfr,4);
但我的Command Window卻跑出
ans =
Empty transfer function
不知道是不是我'tfest'的使用方法錯誤
還請各位指教
還是大家有其他建議的方式來求出轉移函數
感謝各位的幫忙 !!
作者: book5601 (蒼瀾野獸)   2019-12-01 00:05:00
matlab上面的選項有一個APP,裡面有一個system identification, 可以直接拿來用

Links booklink

Contact Us: admin [ a t ] ucptt.com