Deactivate a switch block once the threshold is achieved.
1 ビュー (過去 30 日間)
編集済み: Vito Murgida 2021 年 7 月 1 日
Hi! I have a 3dof mass spring damper system and I want to apply a force (exponential law) on it when the velocity of one of the bodies overpasses a zero value (velocity initially negative). I used a switch block but I want it to be deactivated once the force is applied, so that the force will act for the remaining time, since the said velocity has an oscillatory behaviour and when it becomes negative the switch shuts down the force again (and I don't want this). Do you have any suggestions?
回答 (1 件)
Jonas 2021 年 7 月 1 日
編集済み: Jonas 2021 年 7 月 1 日
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!