Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to view the data after Smoothing?

1 次查看(过去 30 天)
R7 DR
R7 DR 2015-3-3
关闭: MATLAB Answer Bot 2021-8-20
I have 3 data sets x,y and t. I am smoothing the data for r and t. I wrote the code like this
[x]=xlsread('a1.xlsx','sheet4','A2:A125')
[y]=xlsread('a1.xlsx','sheet4','B2:B125')
[t]=xlsread('a1.xlsx','Sheet4','C2:C125')
a = fit(t, x, 'smoothingspline', 'SmoothingParam', 0.995)
plot(a, t, x)
c = fit(t, y, 'smoothingspline', 'SmoothingParam', 0.995)
plot(a, t, y)
I am able to plot the graphs but I dont know how to find the new smoothed data.
The question is how to load the smoothed data into new variables, for example x1,y1,t1.
Thanks

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by