![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174723/image.png)
Simulink function block to multiply a signal with -1 if its negative
27 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
James Murray
il 4 Apr 2014
Commentato: Chandrasekhar
il 4 Apr 2014
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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!