From: Beng on 11 May 2010 22:17 Hi all, I'm new to matlab. Here I have a question on how to plot a graph on all the edge on the signal. Because of my poor engllish, I trying to depict the problem in the figure as linked below. http://i44.tinypic.com/20folkz.png The top Plotting with blue region is the original plotting. The blue region is actually formed by high density sine wave. The Zoom A is roughly what we will see when we zoom into the blue region (probably few hundred times bigger) . My question is, is there any matlab function that allow me to plot a graph like in figure 2 (bottom) RED line. A line just on all the peak points of those repeating sine waves? I knew i can create a long loop keep tracking on the peak points and record it down, however my instinct tell me that that's gonna be a better way of doing that. Please any help will much appreciated. thank you!
From: us on 11 May 2010 22:26 "Beng " <kevin_obl(a)yahoo.com> wrote in message <hsd331$sjv$1(a)fred.mathworks.com>... > Hi all, I'm new to matlab. Here I have a question on how to plot a graph on all the edge on the signal. Because of my poor engllish, I trying to depict the problem in the figure as linked below. > > http://i44.tinypic.com/20folkz.png > > The top Plotting with blue region is the original plotting. The blue region is actually formed by high density sine wave. The Zoom A is roughly what we will see when we zoom into the blue region (probably few hundred times bigger) . > > My question is, is there any matlab function that allow me to plot a graph like in figure 2 (bottom) RED line. A line just on all the peak points of those repeating sine waves? > > I knew i can create a long loop keep tracking on the peak points and record it down, however my instinct tell me that that's gonna be a better way of doing that. > > Please any help will much appreciated. > > thank you! a hint: - try one of the many peak-finders on the FEX site, eg,... http://www.mathworks.com/matlabcentral/fileexchange/25500-peakfinder us
|
Pages: 1 Prev: estimating 2 parameters, simultaneous odes Next: help with subs |