亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? readtops.m

?? 地震解釋處理matlab工具箱
?? M
字號:
function [tops,ztops]=readtops(filename)

% [tops,ztops]=readtops(filename)
%
% Read in tops information from a standard ascii file. The file is
% defined as one with an arbitrary number of header lines containing any
% information followed by two columns of formation top name and depth.
% The header lines must begin with two slashes (//)
% but are otherwise arbitrary and are ignored by this function. 
% The top names may be arbitrary character strings (including embedded
% whitespace) while the top depths are taken to be the first numerical value
% surrounded by while space. 
%
% Example tops file:
%
% // this is a comment
% top bun     1392.3
% ketchup     1512.0
% mustard     1512.0
% relish      1565.0
% burger 1    1572.0
% burger 2    1682.0
% bottom bun  1.792e3
%
% G.F. Margrave November 1994, updated 2003.
% Improved by Henry Bland at some later date.
%
% NOTE: It is illegal for you to use this software for a purpose other
% than non-profit education or research UNLESS you are employed by a CREWES
% Project sponsor. By using this software, you are agreeing to the terms
% detailed in this software's Matlab source file.
 
% BEGIN TERMS OF USE LICENSE
%
% This SOFTWARE is maintained by the CREWES Project at the Department
% of Geology and Geophysics of the University of Calgary, Calgary,
% Alberta, Canada.  The copyright and ownership is jointly held by 
% its author (identified above) and the CREWES Project.  The CREWES 
% project may be contacted via email at:  crewesinfo@crewes.org
% 
% The term 'SOFTWARE' refers to the Matlab source code, translations to
% any other computer language, or object code
%
% Terms of use of this SOFTWARE
%
% 1) Use of this SOFTWARE by any for-profit commercial organization is
%    expressly forbidden unless said organization is a CREWES Project
%    Sponsor.
%
% 2) A CREWES Project sponsor may use this SOFTWARE under the terms of the 
%    CREWES Project Sponsorship agreement.
%
% 3) A student or employee of a non-profit educational institution may 
%    use this SOFTWARE subject to the following terms and conditions:
%    - this SOFTWARE is for teaching or research purposes only.
%    - this SOFTWARE may be distributed to other students or researchers 
%      provided that these license terms are included.
%    - reselling the SOFTWARE, or including it or any portion of it, in any
%      software that will be resold is expressly forbidden.
%    - transfering the SOFTWARE in any form to a commercial firm or any 
%      other for-profit organization is expressly forbidden.
%
% END TERMS OF USE LICENSE

fid=fopen(filename);

if(fid==-1)
	tops=-1;
	ztops=[];
	return;
end

%allocate some matricies
maxtops=100;
tops=setstr(32*ones(maxtops,30));
ztops=zeros(maxtops,1);

maxname=0;
ntops=0;

%read through the file skipping any // lines
buf=fgetl(fid);
while ischar(buf)
    if isempty(regexp(buf,'^\s*//'))
        % Find the start end end of the last number on the line
        % Number may contain digits minuses, the letter 'e' for exponents.
        % The trailing dollar sign ensures that this is found at the end of
        % the line (possible whitespace is ok between number and end of
        % line.
%        [startOfNum, endOfNum] = regexp(buf,'[0-9.e---]+\s*$');
        [startOfNum, endOfNum] = regexp(buf,'[-+]?([0-9]*\.)?[0-9]+([eE][-+]?[0-9]+)?\s*$');
        if (~isempty(startOfNum)) && (startOfNum(end) >= 3)
            depth = str2num(buf(startOfNum(end):endOfNum(end)));
            topName = trimWhitespace(buf(1:startOfNum(end)-1));
            if ~isempty(topName)
                ntops=ntops+1;
                if(ntops>maxtops)
                    tops=[tops;setstr(32*ones(10,30))];
                    ztops=[ztops;zeros(10,1)]
                    maxtops=maxtops+10;
                end
                ztops(ntops)=depth;
                if(length(topName)>maxname)
                    maxname=length(topName);
                end
                tops(ntops,1:length(topName))=topName;
            end
        end
    end
    buf=fgetl(fid);
end

tops=tops(1:ntops,1:maxname);
ztops=ztops(1:ntops);

fclose(fid);

function noWhitespace=trimWhitespace(t)
    t = regexprep(t,'^\s+','');
    t = regexprep(t,'\s+$','');
    noWhitespace = t;    
    

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久日韩粉嫩一区二区三区| 亚洲中国最大av网站| 亚洲精品欧美综合四区| 日本亚洲最大的色成网站www| 国产成人精品网址| 欧美一级理论片| 一区二区三区在线观看视频| 国产成人aaa| 日韩一区二区三区观看| 亚洲成人一区在线| 91社区在线播放| 国产欧美一区二区精品性| 日韩avvvv在线播放| 色偷偷88欧美精品久久久| 国产精品无遮挡| 激情丁香综合五月| 欧美成人伊人久久综合网| 婷婷中文字幕一区三区| 欧美特级限制片免费在线观看| 国产精品传媒视频| 懂色一区二区三区免费观看| 精品国产一区二区三区av性色| 日本亚洲视频在线| 91精品国产欧美一区二区成人| 亚洲不卡一区二区三区| 色哟哟一区二区在线观看| 亚洲日本一区二区| 91色porny在线视频| 亚洲欧美视频在线观看视频| 91女人视频在线观看| 亚洲欧洲精品一区二区精品久久久| 国产福利一区二区三区在线视频| 久久网这里都是精品| 国产成人欧美日韩在线电影| 久久久久久久综合日本| 国产精品一区不卡| 久久久精品欧美丰满| 粉嫩绯色av一区二区在线观看| 中文乱码免费一区二区| 99久久精品免费看| 亚洲三级在线免费| 欧美日韩精品三区| 男人的天堂久久精品| 26uuu欧美日本| 成人一级视频在线观看| 亚洲色图视频网| 欧美日韩综合一区| 久久99久久99| 中文字幕中文字幕在线一区 | 中文字幕中文乱码欧美一区二区| 成人自拍视频在线| 亚洲三级视频在线观看| 欧美肥胖老妇做爰| 激情久久五月天| 中文字幕一区二区不卡| 欧美亚洲自拍偷拍| 黄色小说综合网站| 中文av一区二区| 欧美妇女性影城| 粉嫩欧美一区二区三区高清影视| 国产精品色哟哟| 欧美日韩免费一区二区三区| 狠狠色丁香婷综合久久| 亚洲色图在线视频| 欧美大片一区二区| 91社区在线播放| 久久99久久久久| 亚洲综合丝袜美腿| 久久精品无码一区二区三区| 欧洲国产伦久久久久久久| 久久国产尿小便嘘嘘| 亚洲色图欧美在线| 精品人在线二区三区| 欧美午夜理伦三级在线观看| 国产河南妇女毛片精品久久久| 一区二区三区蜜桃| 中文乱码免费一区二区 | 91久久国产最好的精华液| 麻豆视频观看网址久久| 亚洲另类一区二区| 久久久www成人免费无遮挡大片| 91福利国产成人精品照片| 国产专区综合网| 日本成人中文字幕| 亚洲在线视频免费观看| 国产欧美精品一区二区三区四区| 4438成人网| 色婷婷国产精品| av动漫一区二区| 国产一区二区三区蝌蚪| 日本不卡的三区四区五区| 亚洲一区二区视频在线观看| 国产精品日韩精品欧美在线| 精品精品欲导航| 欧美一区二区三区性视频| 在线观看国产日韩| 一本大道av伊人久久综合| 成人黄色在线网站| 国产福利一区二区三区在线视频| 裸体一区二区三区| 蜜桃视频在线一区| 日韩成人伦理电影在线观看| 亚洲国产成人高清精品| 夜夜爽夜夜爽精品视频| 亚洲免费在线视频一区 二区| 亚洲国产高清不卡| 国产无一区二区| 国产欧美日韩亚州综合 | 国产乱码精品一区二区三| 麻豆精品视频在线| 久久国产精品免费| 激情小说亚洲一区| 国产激情一区二区三区| 国产成人综合在线观看| 成人性生交大片免费看视频在线| 国产成人亚洲综合a∨猫咪| 国产精品99久久久久久似苏梦涵| 激情文学综合插| 国产福利精品导航| 国产 日韩 欧美大片| 不卡的看片网站| 91黄色小视频| 在线成人av影院| 欧美成人午夜电影| 国产亚洲欧美日韩在线一区| 国产精品免费看片| 亚洲女同一区二区| 亚洲v日本v欧美v久久精品| 日本欧美在线观看| 国产成人夜色高潮福利影视| 成人免费看的视频| 欧美性淫爽ww久久久久无| 欧美图片一区二区三区| 日韩欧美国产一区二区三区| 久久久久国产精品厨房| 亚洲天天做日日做天天谢日日欢| 一区二区在线观看免费视频播放| 水蜜桃久久夜色精品一区的特点| 男女性色大片免费观看一区二区 | 丝袜美腿成人在线| 黄页网站大全一区二区| 99精品久久只有精品| 欧美色爱综合网| 久久久一区二区三区| 亚洲欧美日韩综合aⅴ视频| 日韩1区2区日韩1区2区| 成人av在线观| 在线电影院国产精品| 中文字幕不卡三区| 三级久久三级久久| 成人一级视频在线观看| 欧美久久久久久久久| 国产女人aaa级久久久级| 亚洲自拍偷拍九九九| 精品一区二区日韩| 在线视频中文字幕一区二区| 精品成人一区二区三区四区| 一区二区三区四区在线| 国产自产高清不卡| 欧美三级日韩三级国产三级| 国产日韩av一区二区| 亚洲a一区二区| 99精品桃花视频在线观看| 日韩美女一区二区三区四区| 亚洲欧美激情插| 国产mv日韩mv欧美| 精品日韩在线一区| 亚洲123区在线观看| 99国产精品99久久久久久| 久久综合资源网| 午夜电影久久久| 色噜噜狠狠成人中文综合| 国产丝袜在线精品| 日本不卡一区二区| 欧美色窝79yyyycom| 亚洲精品高清在线| www.成人网.com| 欧美激情资源网| 国产精品正在播放| 欧美大片国产精品| 日本不卡视频在线观看| 欧美色图在线观看| 亚洲午夜激情网站| 日本道精品一区二区三区| 日韩一区在线免费观看| 国产精品99久| 国产欧美久久久精品影院| 国产中文字幕精品| 亚洲精品在线电影| 九九在线精品视频| 精品国产sm最大网站免费看| 美女视频网站黄色亚洲| 91麻豆精品国产| 日韩avvvv在线播放| 91精品国产综合久久久蜜臀图片| 亚洲成av人影院在线观看网| 欧美在线免费视屏| 亚洲韩国精品一区| 7777精品久久久大香线蕉| 日韩激情一二三区|