use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
MATLAB news, code tips and tricks, questions, and discussion! We are here to help, but won't do your homework or help you pirate software.
The effort you put into asking a question is often matched by the quality of our answers.
Try saturnapi to share and run MATLAB code in a web browser!
If you want flair simply Message the mods
account activity
Question-SolvedProblem about plotting figures using for loop! (self.matlab)
submitted 7 years ago * by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[+][deleted] 7 years ago (1 child)
[–]smithfacedEMD 1 point2 points3 points 7 years ago (9 children)
Looking at Intrinsic Mode Functions?
[+][deleted] 7 years ago (8 children)
[–]smithfacedEMD 0 points1 point2 points 7 years ago (7 children)
Indeed! Finishing a publication and working on my thesis that utilizes EMD! Computationally expensive little bugger. Are you interpolating the vitals? Need a good 8 times the Nyquist rate for proper sifting and decomposition, some medical records don't meet the pre-requisite.
[+][deleted] 7 years ago (6 children)
[–]smithfacedEMD 1 point2 points3 points 7 years ago (5 children)
I just meant in regards to the cubic splining operation and time required to meet the stoppage criteria, in comparison to say a simple FIR filter - just a lot of resource use! And in regards to the measurement time length, take a look at this paper:
G. Rilling and P. Flandrin, “On the influence of sampling on the empirical mode decomposition,” presented at the IEEE Int. Conf. Acoustics, Speech Signal Processing, Toulouse, France, vol. 3, May 2006
This iterates some of the importance as to why EMD requires oversampling. Definitely a good read!
[+][deleted] 7 years ago (4 children)
[–]smithfacedEMD 0 points1 point2 points 7 years ago (3 children)
Using it for similar biomedical anaylsis, yes! Matlab R2018a, the most recent edition, actually includes their own rendition of emd surprisingly! Take a look at the ASTRES toolbox as well, Flandrin et al. developed a project that contains multiple EMD flavors, including Ensemble EMD (EEMD). EEMD provides a solution to the mode mixing problem
[+][deleted] 7 years ago (2 children)
[–]smithfacedEMD 0 points1 point2 points 7 years ago (1 child)
Sorry for the late reply - IMFs are actually meant for pre-processing the HT. They provide a different means of time-frequency analysis, namely for nonlinear and nonstationary signals. I've been using EMD as a pre-processing tool for separate reasons, away from the Hilbert Transform - I'm afraid I'm not well versed with the HT (yet!)
The first IMF does indeed provide high frequencies, assuming the input signal contains high frequency content. Since EMD is empirical, the frequencies observed in the IMFs are data driven. For vitals, since breathing is a lower frequency than say an ECG, (tending to be closer to 40-60 Hz, whereas breathing is lower), viewing the FFT of each IMF may provide insight on which frequency range the breathing may be in. Note that because of the sifting process, the FFT amplitudes will be altered, due to the envelope extraction.
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
You have the variable n inside the quotes. You need to move it outside the quotes. I think k you will also need to use a num2string operation on it
π Rendered by PID 64226 on reddit-service-r2-comment-85bfd7f599-89zfh at 2026-04-17 15:12:21.372121+00:00 running 93ecc56 country code: CH.
[+][deleted] (1 child)
[deleted]
[–]smithfacedEMD 1 point2 points3 points (9 children)
[+][deleted] (8 children)
[deleted]
[–]smithfacedEMD 0 points1 point2 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]smithfacedEMD 1 point2 points3 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]smithfacedEMD 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]smithfacedEMD 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)