Control tool box and precision issue?
显示 更早的评论
Dear matlab users,
I face an issue while applying transfer function to some digitized signals. It results in a filtered signal with 1e305 amplitiude...
the sampling of my signals is 20 kHz. I use the c2d function with option 'leastsquare' to get teh Z transform of the considered transfer function, I use either the zpk or ft function to draw my transfer function.
Beside this the step function diverges too, so it seems the issue is within H (either the way I define it using "tf" or "zpk")
I thought once that it could come from the "lack" of precision of the coef given by matlab and I have realized that only the symbolic toolbox can provide unlimited precision
I don't know whether there are some obvious guideline to simulate such a system or whether I face a more fundemaental problem.
(I can be more specific on H if this can help for understanding the issue)
Many thanks for your feedback
Frederic
3 个评论
Raj
2019-5-3
Can you share some data? Like your transfer function H and input signal.
Raj
2019-5-3
You mentioned sampling rate of signal as 20KHz in your question but the code shows sampling time dt as "Sampling = 1e-6;" i.e. sampling rate of 1000KHz. Can you check again?
Frederic Cleva
2019-5-3
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


