Simulink function block to multiply a signal with -1 if its negative
27 次查看(过去 30 天)
显示 更早的评论
Hi
Is it possible that I can use a block in Simulink to set conditions that if this signal which is going to be a numerical is less than 0 than simulation multiplies it by -1 to convert it to positive?
Or have two function blocks one for a positive number and one negative and depending on the number simulation takes two different paths?
Thanks for the help
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!