I need help with a mathematical model
Afficher commentaires plus anciens
I have a set of signals and I need to obtaing a mathematical model (a function) for each type of signal. I do not know the base function in order to use curve fitting or any similar toolbox, I need the function/functions that models each type/types of signals. I do not know how to start. These measures have
been obtained using an oscilloscope.
I attach a .mat with some signals and some screen captures. Thanks in advance.

1 commentaire
Stephen23
le 17 Avr 2017
@Alberto Garcia: there are precisely infinite functions that will fit any finite set of data.
Practically you have a choice: either you know something about the underlying model of process, in which case you can perform curve fitting, otherwise you could fit some spline or the like.
Réponses (3)
Star Strider
le 17 Avr 2017
0 votes
I am not certain what you are doing. If your data are the result of using a known input signal to a system and recording the output signal (that you plotted and posted), and you want to discover the characteristics of the system that created your data from the input signal, you are doing system identification. There is an entire System Identification Toolbox devoted to such problems. The Signal Processing Toolbox has the invfreqz and related functions to do much the same.
Although it is possible to estimate the characteristics of the system that created your data from a known input, modeling the exact structure of that system may not be possible from the system identification data. However, if you know the structure, estimating the parameters of the components is at least possible.
2 commentaires
Alberto Garcia
le 18 Avr 2017
Star Strider
le 18 Avr 2017
You have posted 5 different outputs from the same system for apparently the same input. I have no idea how to generalise any model for that.
I will delete my Answer, since there does not seem to be any way to solve your problem.
John D'Errico
le 18 Avr 2017
Modifié(e) : John D'Errico
le 18 Avr 2017
0 votes
I'll look back at this later when I have more time. BUT ... I think Stephen and Star are correct in their assessment.
There is no simple model that you will find. No simple function. So any attempt in that direction will be a waste of time.
If the input to the process (green) is always the same, and not at all related to the output in any way that I see, then I see one of several choices.
1. Use an interpolating spline. It will be pure crap, since a spline is not designed to handle such highly oscillatory problems.
2. Use a Fourier Series. fft comes to mind, and seems entirely logical here.
3. Use wavelets. The Wavelet toolbox seems reasonable.
I'd strongly advise at least considering #2 or #3, neither of which I have any serious expertise on. I also do not have the Wavelet TB, so I cannot tell you what to do there.
1 commentaire
Alberto Garcia
le 18 Avr 2017
Modifié(e) : Alberto Garcia
le 18 Avr 2017
Alberto Garcia
le 20 Avr 2017
0 votes
Catégories
En savoir plus sur Splines dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

