Simulink If function to change the out put based on input
1 次查看(过去 30 天)
显示 更早的评论
Hello all
I am looking for a simulink function that shall output 1 if the input is positie and output -1 if the input is negative. I believe this i is simple but I have no clue how to do this. Can someone please help me with this?
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!