How to view the data after Smoothing?

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.

Asked:

on 3 Mar 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!