How can we create saturation behavior with using switch?

1 Ansicht (letzte 30 Tage)
surekha
surekha am 28 Dez. 2023
Bearbeitet: kei hin am 28 Dez. 2023
How can we create saturation behavior with using switch?
  4 Kommentare
Sam Chak
Sam Chak am 28 Dez. 2023
Do you want to create a saturation function (as shown below) in Simulink? Or a Clipper function that prevent a signal from exceeding a predetermined reference level?
% saturation function
surekha
surekha am 28 Dez. 2023
No, as per my understanding saturation is used to avoid over flow and switch is for if else logic.but how can we implement saturation behaviour with the use of switch.could you please explain me that?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

kei hin
kei hin am 28 Dez. 2023
You want this?
  4 Kommentare
Sam Chak
Sam Chak am 28 Dez. 2023
Hi @surekha, does the proposed block configuration in the accepted answer really achieve what you want?
kei hin
kei hin am 28 Dez. 2023
Bearbeitet: kei hin am 28 Dez. 2023
The logic is so simplistic that I don't know what to explain. You'd better see this for yourself.
by the way, why not use saturation block?
Maybe I didn't understand your initial question, what is saturation behavior mean.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by