MATLAB Answers

How to view the data after Smoothing?

1 view (last 30 days)
R7 DR
R7 DR on 3 Mar 2015
Edited: R7 DR on 4 Mar 2015
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 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.


Translated by