Tags: conver, incomming, matlab, programming, simulink, sine, square, toconvert, wave

Conver sine to square wave in simulink

On Programmer » Matlab

1,838 words with 4 Comments; publish: Wed, 30 Apr 2008 21:07:00 GMT; (200121.09, « »)

hi there,

I'm using simulink. My incomming data is sine wave and i need to

convert it to square wave. how i make that.

Well, for test, i did some thing like, using signal generator i

generate sine and then use the FFT but i can't saw any square wave.

so, please let me know what to do.

thanks

deena

All Comments

Leave a comment...

  • 4 Comments
    • Deena Chow wrote:

      >

      > hi there,

      > I'm using simulink. My incomming data is sine wave and i need to

      > convert it to square wave. how i make that.

      > Well, for test, i did some thing like, using signal generator i

      > generate sine and then use the FFT but i can't saw any square wave.

      > so, please let me know what to do.

      > thanks

      > deena

      A signum function should work.

      HTH

      #1; Wed, 30 Apr 2008 21:09:00 GMT
    • can you please tell me how i implement signum function in simulink..

      actually i can't find anything in simulink called signum

      thanking you

      Deena

      T Neeves wrote:

      >

      > Deena Chow wrote:

      to

      > wave.

      > A signum function should work.

      > HTH

      #2; Wed, 30 Apr 2008 21:10:00 GMT
    • Deena Chow wrote:

      >

      > can you please tell me how i implement signum function in

      > simulink..

      > actually i can't find anything in simulink called signum

      > thanking you

      > Deena

      > T Neeves wrote:

      need

      > to

      generator

      > i

      square

      Signum function is 'sign' block under math operation.

      A. Kumar

      #3; Wed, 30 Apr 2008 21:11:00 GMT
    • A. Kumar wrote:

      >

      > Deena Chow wrote:

      i

      > need

      > generator

      > square

      > Signum function is 'sign' block under math operation.

      > A. Kumar

      Thankyou verymuch... actually already i use C++ for that portion...

      Anyway, thanks a lot for help...

      #4; Wed, 30 Apr 2008 21:12:00 GMT