Can the difference between impulse(sys) and plot(sys) be graphed?
1 回表示 (過去 30 日間)
古いコメントを表示
I need to compare the theoretical impulse response and the simulated impulse response. I created a time vector and plotted my theoretical answers. I want to compare the plotted against the simulated and find the error between them.
0 件のコメント
回答 (1 件)
MHN
2016 年 3 月 30 日
編集済み: MHN
2016 年 3 月 30 日
Just feed a subtracter block with them (and abs block if you need the absolute value) and plot the difference. Just note that the simulation and theoretical one must be generated by a same time vector, otherwise comparing the differences are meaningless.
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!