plot frequency response of simulink system
3 次查看(过去 30 天)
显示 更早的评论
Hi guys,
I'm working on digital filter, I have the transfer function of the filter in z-transform and I'm building the filter in simulink using basic models. The problem is I want to know the effect of the fixed point quantization of internal modules (integrators, differentiators, etc...) In other words, I have a reference plot of the targeted transfer function. I need a way to plot the transfer function of the filter built in simulink using basic models. Then I will compare the product transfer function to the reference one.
Is this feasible ? Also I need some advice about the flow I'm using.
I have heard of ltiview tool but it uses S-domain functions not z-transform
Thanks in advance.
0 个评论
回答(3 个)
Arkadiy Turevskiy
2015-4-14
There are tools for linearizing Simulink models - i.e., getting a transfer function from a Simulink model. You can take a look our linearization page for that.
What you have to keep in mind though is that transfer functions are used to represent linear time-invariant systems. When you start adding quantization effects and fixed-point scaling in Simulink, you are making your system nonlinear. Think about the most basic example when you represent a signal with either 0 or 1. A small change in the input signal is going to result in either no change in the output signal, or in a jump from one discrete value to another.
In other words, you can linearize a Simulink model using the tools on the page I linked to, but the transfer function is only capturing the linear behavior of the model.
Hope this helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linearization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!