how to remove the distortion by the end of the graph ?
1 回表示 (過去 30 日間)
古いコメントを表示
6 件のコメント
回答 (1 件)
John D'Errico
2017 年 6 月 3 日
Sigh. What do you mean it will not take its normal shape?
y(x > 34) = [];
x(x > 34) = [];
5 件のコメント
Image Analyst
2017 年 6 月 3 日
Why don't we just speed up the solution by you attaching your data?
Or try getting rid of data more than 100
y(y > 100) = [];
x(y > 100) = [];
plot(x, y, 'r-');
Walter Roberson
2017 年 6 月 3 日
You appear to be asking that somehow an undistorted line is plotted.
Have you considered using a low-pass filter?
Have you considered determining a mathematical model for what your graph should look like, and then using the known points to determine the parameters of the model, and then using the model to project data?
Have you considered taking the points between the peak and the beginning of the distorted area, and fitting a low degree polynomial to it, and using that polynomial to project to the end of the area?
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!