'Trapz' equivalent in Simulink??

조회 수: 6 (최근 30일)
Tejeshwar Anbazhagan
Tejeshwar Anbazhagan 2015년 9월 17일
답변: Subhra Saha 2015년 10월 2일
Hello,
I've a graph for which I have to find area under the curve. I tried to copy the graph plot points on Matlab workspace and used function "trapz" to find the area.
Is there anyway I can do the same work as done by trapz in Simulink itself?
Thanks in advance,

답변 (1개)

Subhra Saha
Subhra Saha 2015년 10월 2일
You can use Interpreted MATLAB Function block which applies the specified MATLAB® function or expression to the input. You can specify trapz function in Parameters and Dialog Box. For more information refer to the link below:

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by