Effacer les filtres
Effacer les filtres

Smooth function not working in R2015b

3 vues (au cours des 30 derniers jours)
Bradley Cory
Bradley Cory le 27 Juin 2018
Modifié(e) : Bradley Cory le 27 Juin 2018
%%smoothing individual traces
[r c] = size(ft);
for k = 1:c
ft_smo(:,k) = smooth (ft(:,k), 0.2,'loess');
end
figure, plot(time_ft, ft_smo);
%figure, surf(ft_smo);
x_ax = [1:1:c];
figure, surf(x_ax, time_ft, ft_smo);
ylabel('time sec');
xlabel('bouton #');
zlabel('Fluo Int');
The error I get is:
Undefined function 'smooth' for input arguments of type 'double'.
Error in vglutpH_NH4Cl_Brad4 (line 167) ft_smo(:,k) = smooth (ft(:,k), 0.2,'loess');
  2 commentaires
Stephen23
Stephen23 le 27 Juin 2018
@Bradley Cory: do you have the Curve Fitting Toolbox installed and a license for it?
Bradley Cory
Bradley Cory le 27 Juin 2018
Modifié(e) : Bradley Cory le 27 Juin 2018
How do you check for that?
Edit: Newver mind, I don't have that installed. Thank you :)

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by