smoothing a graph using matlab

3 ビュー (過去 30 日間)
Abeer Aboul Azm
Abeer Aboul Azm 2022 年 5 月 28 日
回答済み: Ganesh Naik 2022 年 5 月 29 日
how can I smooth data imported from one column (Excel sheet) using Matlab , Thanks
  1 件のコメント
Walter Roberson
Walter Roberson 2022 年 5 月 28 日
Are you expecting the techniques to be different than for https://www.mathworks.com/matlabcentral/answers/1728795-smoothing-a-graph-using-matlab?s_tid=srchtitle ?

サインインしてコメントする。

回答 (1 件)

Ganesh Naik
Ganesh Naik 2022 年 5 月 29 日
You can use the "smooth: in built function in matlab to smooth the signal. Here is one solution
close all;
clc;
data = readmatrix('3.xlsx')
B = smoothdata(data);
plot(data,'-o'); hold on; plot(B,'-x')
legend('Original Data','Smoothed Data')

カテゴリ

Help Center および File ExchangeSmoothing and Denoising についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by