hello, Can someone please help write the following algorithm as a Matlab Function for Simulink? i am having trouble with the else statement and time increments. Thanks!
Mostrar comentarios más antiguos

3 comentarios
dpb
el 2 de Jul. de 2022
The prepared text/instructioins makes this appear as homework exercise -- it's general practice to coach/answer specific MATLAB Q? for homework, but not to just provide ready-to-run solutions...
So, show us your work so far and ask specifically where you've gotten stuck.
Muhammad Rameez Rashid
el 3 de Jul. de 2022
Muhammad Rameez Rashid
el 3 de Jul. de 2022
Respuestas (1)
AMIT POTE
el 3 de Jul. de 2022
0 votos
You can go through the following documentation to understand writing if-else statements in MATLAB
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
