i have oscillating signal at scope in simulink, how i can get the average of this signal?
显示 更早的评论
i have oscillating signal at scope in simulink, how i can get the average of this signal?
回答(1 个)
nl2605
2014-3-12
0 个投票
Well, I don't think there is a Mean block or Average block for this operation. What you can do is use an 'Outport'. This will take the values of your signal out to MATLAB. There you can calculate the mean of the data using 'mean' function.
类别
在 帮助中心 和 File Exchange 中查找有关 Scopes and Data Logging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!