Simulate recursive function in simulink
Mostra commenti meno recenti
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 Commenti
Aquatris
il 20 Set 2024
This looks like a simple ODE. Which part do you think is the recursive function here?
Gary
il 20 Set 2024
Walter Roberson
il 20 Set 2024
I do not believe that Simulink can handle recursion, except that a MATLAB Function Block can potentially be coded recursively.
Risposte (1)
Aquatris
il 20 Set 2024
0 voti
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., 

Categorie
Scopri di più su General Applications in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!