Compute the integral of a signal from Simulink into Matlab
2 次查看(过去 30 天)
显示 更早的评论
Hi all,
I performed a simulation with Simulink, and I saved the data in the Matlab workspace automatically via a Scope block. Now, I want to compute the integral of this signal in Matlab. To be more clear: imagine that I have a struct Results in the Matlab workspace, such that Results is a saved data from a Simulink Scope block. I want to compute the integral of Results.signals.values over Results.signals.time. How should I do?
Thanks,
Ubaldo
--
1 个评论
Azzi Abdelmalek
2012-9-9
what do you mean by : I want to compute the integral of Results.signals.values over Results.signals.time
采纳的回答
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!