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!
古いコメントを表示

3 件のコメント
dpb
2022 年 7 月 2 日
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
2022 年 7 月 3 日
Muhammad Rameez Rashid
2022 年 7 月 3 日
回答 (1 件)
AMIT POTE
2022 年 7 月 3 日
0 投票
You can go through the following documentation to understand writing if-else statements in MATLAB
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
