Fitting a series of rectangular pulses to data points

2 ビュー (過去 30 日間)
Sara
Sara 2018 年 2 月 5 日
回答済み: Priyank Sharma 2018 年 2 月 20 日
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 Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by