Info

This question is closed. Reopen it to edit or answer.

How to view the data after Smoothing?

1 view (last 30 days)
R7 DR
R7 DR on 3 Mar 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!