Fitting a series of rectangular pulses to data points

2 次查看(过去 30 天)
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

采纳的回答

Priyank Sharma
Priyank Sharma 2018-2-20
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by