Prev: Sort vector with out using sort function
Next: Infrastructure wireless network for detection wormhole
From: Sadik on 25 Apr 2010 23:08 Hi Angelo, It seems you have 256 samples per second. The 2nd second starts from sample 257 and the 5th second ends at 1280. Then, the signal at this specific interval will be dataSpecific = data(257:1280); If you want something more general, you can say: tStart = 2; tEnd = 5; sampleStart = 256*(tStart-1)+1; sampleEnd = 256*tEnd; dataSpecific = data(sampleStart:sampleEnd); Best. |