Synchronizing 2 blocksignals with a double block over 18 blocks
4 views (last 30 days)
Show older comments
Hi matlabusers,
So I am figuring out a problem. I have 2 signals that i want to synchronize with Matlab.
my data has 3 colums, time1;time2;dataset1;dataset2
for i=1:einde;
if userdata (i,3)>2500;
userdata(i,5)=5;
elseif userdata (i,3)<=2500;
userdata(i,5)=0;
else userdata(i,5)=0;
end
so now I have a clean signal :)
now I want to count the peaks so I know where my double peak is. So I thought, maby it is possible to make an extra column that searches in the column from the 0-5 column the first 5 value and makes it 1. then the second value back to 0 zo that u have a column that only haves a 1 when the peak starts. so from there i am able to find the double peak. or do you maby have an better idea?
thanks in advance,Martijn
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!