Effacer les filtres
Effacer les filtres

Fitting a series of rectangular pulses to data points

3 vues (au cours des 30 derniers jours)
Sara
Sara le 5 Fév 2018
Is there any way in MATLAB to fit a series of rectangular pulses to data point? Given the number of rectangular pulses, the algorithm should detect the location of pulses and their amplitudes.
Thanks

Réponse acceptée

Priyank Sharma
Priyank Sharma le 20 Fév 2018
From my understanding, I think you are trying to fit a model over the data points defined by the amplitude(or the crust values) of every pulse in the rectangular signal. If that is what you are trying then you can use the fit function defined in the curve fitting toolbox in MATLAB to fit the model with the specified 'fitType'.
If this is not what you are trying to achieve, then maybe you can elaborate a little more on that question to clarify.

Plus de réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by