📄 truncatezeronm.m
字号:
function [dat nm] = truncateZeroNM(dat,nm)% remove all nm wavelengths that have no signal% such that all data has the same number of % wavelengthskeyboard;%% find common nm zero regionmaxNM = 1;for jj=1:length(dat) %% check that nms read in are all the same to start thisNM = nm{jj}; if ~all(thisNM==nm{1}) error('NMs dont match up'); end thisDat = dat{jj}; sumDat = sum(thisDat,1);end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -