資源簡介
利用matlab程序,提取光譜數(shù)據(jù)波峰數(shù)據(jù),并生成表格數(shù)據(jù)
代碼片段和文件信息
clc;
clear?all;close?all;
%%%excel數(shù)據(jù)導(dǎo)入
data?=?xlsread(‘S01-13(第二次).xls‘);
[mn]=size(data);
%%%new?=?ones(mn*2);
for?u=16:28
?????a=data(1:mu);
?????data1=find(diff(sign(diff(a)))<0)+1;%波峰行數(shù)
?????data2=a(data1);%波峰數(shù)值
?????[
評(píng)論
共有 條評(píng)論