Is there a way to develop simulink model for Savitzky-golay filter?
2 ビュー (過去 30 日間)
古いコメントを表示
I wanna filter the values while the simulation is running.While the sgolayfilt code can be used for the entire graph(i.e after the graph has been plot).so is there a way to develop simulink model for savitzky golay filter?
3 件のコメント
Paul
2022 年 12 月 8 日
Are you using the Discrete Derivative block with sample time of 1 s? If not, can you provide a link to the derivative block you're using and explain what "derivative is done for 1 s" means?
Is the velocity to be differentiated continuous? Can you make any assumptions about limitations on its frequency content, i.e., due to the bandwidth of the motor and/or its servo control loop (if it has one)?
Also, are you sure you can't get the motor acceleration directly? Usually, motor models integrate angular acceleration to angular velocity.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!