How to implement a zero crossing
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hi, i need to create and S-Function that is a zero-crossing detector of a sinusoidal wave with of a specific amplitude (let's say 120). This zero crossing must creat a positive ramp as well.
How can i create it?
PS: I know that in simulink i already have this function but i can't use it because it is for school purpose.
5 Comments
dpb
on 15 Oct 2017
Since "... it is for school purpose." what purpose would it serve for us to provide a solution other than for you to not do the work yourself?
At least show what you've attempted and where you have a *specific* Matlab/Simulink question on syntax or such; not "do my work for me"...
Jucimar Carpe
on 15 Oct 2017
dpb
on 15 Oct 2017
See above...
Jucimar Carpe
on 15 Oct 2017
dpb
on 15 Oct 2017
The point is it is your homework problem, not ours...we (the community, that is) generally don't supply solutions to such without the poster at least showing have made an effort to solve the problem first...such demonstration would include posting the work you've done to date; where you got stuck and (best practice) a specific question on the actual coding using Matlab rather than just "do it for me".
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!