Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to implement a zero crossing

1 次查看(过去 30 天)
Jucimar Carpe
Jucimar Carpe 2017-10-15
关闭: Sabin 2023-1-4
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 个评论
Jucimar Carpe
Jucimar Carpe 2017-10-15
sorry i didnt get it the point...
dpb
dpb 2017-10-15
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".

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by