Simulate recursive function in simulink
이전 댓글 표시
I want to solve the point kinetic equations in simulink as given below

where rho, beta, lamda are all constants. I need to know the method of simulating recursive functions in simulink
댓글 수: 4
Aquatris
2024년 9월 20일
This looks like a simple ODE. Which part do you think is the recursive function here?
Gary
2024년 9월 20일
Walter Roberson
2024년 9월 20일
I do not believe that Simulink can handle recursion, except that a MATLAB Function Block can potentially be coded recursively.
답변 (1개)
Aquatris
2024년 9월 20일
0 개 추천
I did not care about the dimensions at all while creating the simulink model so some adjustment might be necessary but this is one way to do it. Keep in mind you can represent [ sum of lamda_i * c_i ] as a matrix multiplication , i.e., 

카테고리
도움말 센터 및 File Exchange에서 General Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!