Compute the integral of a signal from Simulink into Matlab
조회 수: 4 (최근 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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Discontinuities에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!