Effacer les filtres
Effacer les filtres

how to draw a line through points?

2 vues (au cours des 30 derniers jours)
pruth
pruth le 21 Fév 2016
Commenté : Star Strider le 1 Mar 2016
hello... I want to plot a line through the points I have plotted.please see the attachment ..I have drawn a line manually just to give u an idea. please let me know if is it possible in Matlab?

Réponse acceptée

Star Strider
Star Strider le 21 Fév 2016
You will need the Signal Processing Toolbox.
I would first do a fft on your data, to see if your signal can be separated from high-frequency noise. If so, an appropriately-designed lowpass discrete filter would probably work. (My filter design procedure is: How to design a lowpass filter for ocean wave data in Matlab?)
If you have broadband noise that cannot be effectively filtered, with your data, my first approach would be to use the sgolayfilt function to do Savitzky-Golay filtering on it.
All signal processing on actual data requires some experimentation, and the noisier the signal, the more experimentation will be necessary. Be prepared to spend some time processing your data.
  8 commentaires
pruth
pruth le 1 Mar 2016
omg... hats off to u sir... I didn't know this would be that hard......thank you so much.....to learn this much programming I need to give at least 1 years...anyways answer accepted ..thank you.
Star Strider
Star Strider le 1 Mar 2016
My pleasure!
I enjoy ‘real world’ data analysis problems, so this was actually fun for me.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by