From: us on 23 Jun 2010 15:30 "Diem " <didi.bui(a)gmail.com> wrote in message <hvthnt$q4$1(a)fred.mathworks.com>... > I have a problem with datas from a signal. I would like to remove all the noise from the beginning of the recording. To do so, I thought of specifying the datas in my array I wished to be zeroed. However, MatLab doesn't seem to account for the procedure. > > This is what the code looks like as of now: > s(1:10000)=0; > > s being the amplitude datas of the signal which counts 45 000 values. I want the first 10 000 values to be zeroed. a hint: - yes, you use the correct syntax for what you want... s=rand(1,45); s(1,1:10)=0; us
|
Pages: 1 Prev: Data Acquisition and Windows 7 UAC Next: how do you find adjacent numbers fast? |