Using a part of a signal simulink
Ältere Kommentare anzeigen
Hi, I'm trying to use an integrator in simulink and I have a problem due to inf/nan errors. So overcome that I want to integrate only a part of the signal, is there a way to "trim" the signal or to limit it to specific times of integraion?
Thank you!
Antworten (5)
A Jenkins
am 24 Jun. 2014
0 Stimmen
aviran
am 24 Jun. 2014
0 Stimmen
Sean de Wolski
am 24 Jun. 2014
0 Stimmen
Perhaps a "Selector" block to select just the part you want (like an index).
aviran
am 24 Jun. 2014
0 Stimmen
A Jenkins
am 24 Jun. 2014
0 Stimmen
How about just using a switch, and flipping the switch when your value exceeds the threshold?
In the case below, I am integrating only the parts of the sine wave that are less than 1:

Kategorien
Mehr zu Discontinuities finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!