Need assistance regarding Simulink Modeling

Hi,
I am implementing first order differential equations in SIMULINK. where, my inputs are step signals or random pulses, and my output is based on these pulses and differential equations.
Now, I want to set a thershold value that, if output would be equal to (example 50mv) then a spike should be generated and during this time no input signal is acccepted (Refractory period) and then output bcomes equal to reset voltage (say -70volt). Again it works in same way repeatedly. (Neural Integerate & Fire Model)
Can anyone sugggest me how to implemt Thershold and Refractory portion in Simulink?
Thank you!
Yugal

2 Kommentare

One question, can you use relay here?
Yes, we can.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 1 Jan. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by