MATLAB: I want to remove the noise of this Signal filternoisesmooth Hi there, I have the following signal, i need to calculate it derivative but it is full of noise. what should i use to get rid of the noise Best Answer If you have R2017a or later, use the smoothdata function: D = load('matlab.mat');Temperature = D.Temperature;ys = smoothdata( Temperature, 'movmean', 100); % R2017afigureplot(Temperature, '-b')hold onplot(ys, '-r')hold offgridThat appears to work well. EDIT — (24 Apr 2020 at 16:55)If you have an earlier version/release, this works about as well: N = 15;ys = filter(ones(1,N), N, Temperature - Temperature(1), zeros(1,N-1)) + Temperature(1);Use those two assignments instead of smoothdata. Related SolutionsMATLAB: Smoothdata- undefined function ‘smoothdata’ for input arguments of type ‘double’ https://in.mathworks.com/help/matlab/ref/smoothdata.html#bvhejau_seealso - released in 2017a MATLAB: I wanted to combine these cells into a table. Do it as following:load('matlab.mat');out = cell2mat(new_raw(1,1));for i=2:length(new_raw) out = horzcat(out, cell2mat(new_raw(1,i)));end Related QuestionDoes MatLab Versions R2013b and R2012b compatible with LM 11.14
Best Answer