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 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