Code covered by the BSD License
-
[C, y, X, n, p, error1]=LMS_t...
-
[LMSout, blms, Rsq, error1]=L...
-
[LMSout, blms, Rsq, error1]=L...
-
[LeqA, LeqA8, LeqC, LeqC8, Le...
% This program calculates the A-weighted, C-weighted and Linear weighted
-
[SP, vibs, Fs_SP, Fs_vibs, de...
-
[SP2, mean_array2]=sub_mean(S...
% This program calculates the running average for sound and vibrations
-
[filename_base, ext]=file_ext...
% This program separates the filename from the extension. For example a
-
[gm]=geomean2(y)
% This program calculates the geometric mean, if all of the data are
-
[interval]=call_ci(x,confiden...
-
[ma,mi]=findextrema(a)
FINDEXTREMA - finds minima and maxima of data
-
[ndraw, count, count2, error]...
% This program quickly and randomly selects n integers from a to b.
-
[rt_array2, lv_array2, lv_arr...
-
[rta, Lya, rtpa]=reverb_time(...
-
[varargout]=convert_double(va...
-
[yA, B, A]=Aweight_time_filte...
% This program applies an A-weighting filter to
-
[yC, B, A]=Cweight_time_filte...
% This program applies an C-weighting filter to
-
adsgn(Fs);
ADSGN Design of a A-weighting filter.
-
cdsgn(Fs);
CDSGN Design of a A-weighting filter.
-
interval=ci(x,confidence,dim)...
interval=ci(x,confidence,dim);
-
loc=LMSloc(X)
-
oct3dsgn(Fc,Fs,N);
OCT3DSGN Design of a one-third-octave filter.
-
save_a_plot_reverb_time(a, fi...
-
View all files
from
Reverberation Time Calculator
by Edward Zechmann
Calculates Reverberation Time from multiple microphones using time records
|
| [filename_base, ext]=file_extension(filename)
|
function [filename_base, ext]=file_extension(filename)
% % This program separates the filename from the extension. For example a
% % file with the name data_file1.txt. Has an etension txt and a filename
% % base of data_file1.
% %
% Example='';
% filename='data_file1.txt';
%
% [filename_base, ext]=file_extension(filename);
% %
% % Output Variables
% % filename_base is the part of the filename before the extension
% %
% % ext is the file anem extension for example 'txt'.
% %
% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% % Program Written by Edward L. Zechmann
% % date 5 August 2007
% % modified 27 December 2007
% % added a description and an example
% % updated comments
% %
% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% % Please feel free to modify this code.
% %
k = strfind(filename, '.');
if ~isempty(k)
if length(k(1)) > 0
ext=filename((k(1)+1):end);
filename_base=filename(1:(k(1)-1));
else
ext='';
filename_base=filename;
end
else
ext='';
filename_base=filename;
end
|
|
Contact us at files@mathworks.com