xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 32KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-13
  • 語言: Matlab
  • 標簽: 高光譜??重采樣??

資源簡介

matlab代碼,用于高光譜、多光譜數據重采樣,內容清晰

資源截圖

代碼片段和文件信息

%%輸入文件
clear?all
load?‘D:\工具\GER光譜數據_重采樣\all.txt‘;
[rowcol]?=?size(all);
band=all(:1);
all(:1)=[];?%%%%%%%%%%%%%%%%將第一列波長從矩陣中去掉
col=col-1;?%%%%%%%%%%%%%%%%矩陣的采樣點數目,即光譜曲線數目
%?newband=[400:1:750];
load?‘D:\工具\GER光譜數據_重采樣\newband.txt‘;

%%Piecewise?Cubic?Hermite?Interpolating?Polynomial?(PCHIP)內插
for?point=1:col
????%point;
????spec=all(:point);
Interp_spec?=?pchip(bandspecnewband);?%%%%PCHIP既能保持光譜的形狀特征,又能夠不會過擬合,避免某些直線的部分擬合成曲線。pchip(xyf)??x表示內插前的x變量,y表示內插前的y變量,f是內插后的x變量。
Interp_Spec(:point)=Interp_spec;??????
end


%%輸出
plot(bandall(:1)‘o‘newbandInterp_Spec(:1)‘-.‘)
legend(‘data‘‘pchip‘4)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????84924??2017-05-15?15:26??GER光譜數據_重采樣\all.txt
?????文件?????????748??2017-05-15?15:26??GER光譜數據_重采樣\Interpchip.m
?????文件????????3006??2017-05-15?15:26??GER光譜數據_重采樣\newband.txt

評論

共有 條評論