matlab help required

Discussion in 'Programmer's Corner' started by ehtisham, Nov 24, 2010.

  1. ehtisham

    Thread Starter New Member

    Nov 24, 2010
    3
    0
    people i want to square this signal
    ecg=pwav+qrswav+twav+swav+qwav+uwav;
    i have generated it now i simply wanted to square it how should i do this ...

    i tried to solve it by watching the sqauring of sin function but in this case i m getting errors

    plz tell me

    regards
    ehtisham
     
  2. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,377
    494
    ecg_squared=ecg.^2
     
    ehtisham likes this.
  3. ehtisham

    Thread Starter New Member

    Nov 24, 2010
    3
    0
    thankyou freind
     
Loading...