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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pronyanalysistool.m

?? matlab 非平穩信號分析
?? M
?? 第 1 頁 / 共 2 頁
字號:
function varargout = pronyanalysistool(varargin)
% PRONYANALYSISTOOL M-file for pronyanalysistool.fig
% Edit the above text to modify the response to help pronyanalysistool
% Last Modified by GUIDE v2.5 15-Feb-2006 15:12:50
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @pronyanalysistool_OpeningFcn, ...
                   'gui_OutputFcn',  @pronyanalysistool_OutputFcn, ...
                   'gui_LayoutFcn',  [] , ...
                   'gui_Callback',   []);
if nargin & isstr(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
    gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT


% --- Executes just before pronyanalysistool is made visible.
function pronyanalysistool_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to pronyanalysistool (see VARARGIN)

% Choose default command line output for pronyanalysistool
handles.output = hObject;
% Set the background of the figure to Black
%whitebg('white');
%colordef white;
set(hObject,'Color','white');
% Set the toolbar for the figure
pronytoolbar(hObject,'on');
% Set the default for decimation as off
set(handles.rdbutton_off,'Value',1);
% Set the default for data range as off
set(handles.rdbutton_rangeoff,'Value',1);
% Set the starting colors of axes as black

% Set the flag if signal is decimated
handles.exportout=0;
handles.flagdecimate=0;
handles.filename=0;
handles.pathname=0;
handles.preprocessid=0;
handles.window_x=0;
handles.window_y=0;
handles.flagwindow=0;
handles.dp_x=0;
handles.dp_y=0;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes pronyanalysistool wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = pronyanalysistool_OutputFcn(hObject, eventdata, handles)
% varargout  cell array for returning output args (see VARARGOUT);
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
varargout{1} = handles.output;
varargout{2} = handles.exportout;

% --- Executes on button press in push_importdata.
function push_importdata_Callback(hObject, eventdata, handles)
% hObject    handle to push_importdata (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
%uiimport;

%--Enable the Orignal Data Plot push button
set(handles.push_plot,'Enable','on'); 
setstatus(gcbf,'Select Variables and Press "Plot"');
[filename, pathname] = uigetfile( ...
    {'*.mat', 'All MAT-Files (*.mat)'; ...
        '*.*','All Files (*.*)'}, ...
    'Select Data File');
% If "Cancel" is selected then return
if isequal([filename,pathname],[0,0])
    return
    % Otherwise load the file.
else
    cd (pathname);
    vars=load(eval('filename'));
    assignin('base','vars',vars);
    newvars = evalin('base','fieldnames(vars)');
    % Unpack the struct vars in base. mmv2struct function is taken from
    % Mastering MATLAB book
    evalin('base','mmv2struct(vars)');
end
    % update the listbox
    set(handles.lstbx_depvar,'String',newvars)
    set(handles.lstbx_indepvar,'String',newvars)
    handles.filename=filename;
    handles.pathname=pathname;
    guidata(hObject,handles);
    
function [x,y,x_val,y_val] = get_var_names(handles)
% Returns the names of the two variables to plot
list_entries1 = get(handles.lstbx_depvar,'String');
index_selected1 = get(handles.lstbx_depvar,'Value');
list_entries2 = get(handles.lstbx_indepvar,'String');
index_selected2 = get(handles.lstbx_indepvar,'Value');
if length(index_selected1) ~= 1
    errordlg('You Must Select Only One Variable','Incorrect Selection','modal')
else
    x = list_entries1{index_selected1(1)};
end 

if length(index_selected2) ~= 1
    errordlg('You Must Select Only One Variable','Incorrect Selection','modal')
else
    y= list_entries2{index_selected2(1)};
end 
x_val=evalin('base',x);
y_val=evalin('base',y);
% Check whether data is a column vector or not
% if it is row vector convert it to column vector
if(size(x_val,1)==1)
   x_val=x_val';
end
if(size(y_val,1)==1)
   y_val=y_val';
end
   
    
function varargout = push_plot_Callback(hObject, eventdata, handles, varargin)
% hObject    handle to push_plot (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
axes(handles.axes_data);
[x,y,x_val,y_val] = get_var_names(handles);
plot(x_val,y_val,'b');
xlabel('Time'),ylabel('Signal'), title('Original Data Plot');
[deci_x,deci_y,dfactor]=decimate_data(handles);
handles.window_x=deci_x;
handles.window_y=deci_y;
guidata(hObject,handles);
 %--Enable the data preprocessing popup menu 
set([handles.edit_sample,handles.rdbutton_on,handles.rdbutton_off,handles.push_decimate],'Enable','on');
setstatus(gcbf,'Apply "Decimation"');
    
    
    
% --- Executes on button press in push_close.
function push_close_Callback(hObject, eventdata, handles)
% hObject    handle to push_close (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
close;


function mutual_exclude(off)
    set(off,'Value',0)

% --- Executes on button press in rdbutton_on.
function rdbutton_on_Callback(hObject, eventdata, handles)
% hObject    handle to rdbutton_on (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hint: get(hObject,'Value') returns toggle state of rdbutton_on
mutual_exclude(handles.rdbutton_off) ;
handles.flagdecimate=1;
guidata(hObject, handles);



% --- Executes on button press in rdbutton_off.
function rdbutton_off_Callback(hObject, eventdata, handles)

% hObject    handle to rdbutton_off (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hint: get(hObject,'Value') returns toggle state of rdbutton_off
mutual_exclude(handles.rdbutton_on) ;
handles.flagdecimate=0;
guidata(hObject, handles);



% --- Executes during object creation, after setting all properties.
function edit_sample_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_sample (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc
    set(hObject,'BackgroundColor','white');
else
    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end



function edit_sample_Callback(hObject, eventdata, handles)
% hObject    handle to edit_sample (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of edit_sample as text
%        str2double(get(hObject,'String')) returns contents of edit_sample as a double


% --- Executes on button press in push_decimate.
function push_decimate_Callback(hObject, eventdata, handles)
% hObject    handle to push_decimate (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% 
[deci_x,deci_y,dfactor]=decimate_data(handles);
 axes(handles.axes_data);
 plot(deci_x,deci_y,'b');
if (get(handles.rdbutton_on,'Value') == get(handles.rdbutton_on,'Max'))
    xlabel('Time'), ylabel('Decimated Signal'),...
    title(sprintf('Signal after Down Sampling of %d ',dfactor));
else
    xlabel('Time'),ylabel('Original Signal'),...
    title('No Decimation is Applied');
end
    handles.window_x=deci_x;
    handles.window_y=deci_y;
    guidata(hObject,handles);
set([handles.rdbutton_rangeon,handles.rdbutton_rangeoff,handles.push_range],'Enable','on')
setstatus(gcbf,'Specify the Data Range');   
    



function[deci_x,deci_y,dfactor]= decimate_data(handles)

[x,y,x_val,y_val] = get_var_names(handles);
dfactor= round(str2num(get(handles.edit_sample,'String')));

if (get(handles.rdbutton_on,'Value') == get(handles.rdbutton_on,'Max'))
    deci_x=x_val(1:dfactor:length(x_val));
    deci_y=y_val(1:dfactor:length(y_val));
else
    deci_x=x_val;
    deci_y=y_val;
end



% --- Executes on button press in push_pronyanalysis.
function push_pronyanalysis_Callback(hObject, eventdata, handles)
% hObject    handle to push_pronyanalysis (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
PronyData=export_data(handles);
assignin('base','PronyData',PronyData);
performprony;


function [PronyData]=export_data(handles)
    [x,y,x_val,y_val] = get_var_names(handles);
    [deci_x,deci_y,dfactor]= decimate_data(handles);
    PronyData = struct('filename',[],'pathname',[],...
		'depvariable',[],'indepvariable',[],'x_val',[],'y_val',[],...
        'flagdecimate',[],'dfactor',[],...
        'deci_x',[],'deci_y',[],'preprocessid',[],'flagwindow',[],...
        'window_x',[],'window_y',[],'dp_x',[],'dp_y',[]);
    % save export data
    PronyData.filename=handles.filename;
    PronyData.pathname=handles.pathname;
    PronyData.indepvariable=x;
    PronyData.depvariable=y;
    PronyData.x_val=x_val;
    PronyData.y_val=y_val;
    PronyData.flagdecimate=handles.flagdecimate;
    PronyData.dfactor=dfactor;
    PronyData.deci_x=deci_x;
    PronyData.deci_y=deci_y;
    PronyData.preprocessid=handles.preprocessid;
    PronyData.flagwindow=handles.flagwindow;
    PronyData.window_x=handles.window_x;
    PronyData.window_y=handles.window_y;
    PronyData.dp_x=handles.dp_x;
    PronyData.dp_y=handles.dp_y;
    

% --- Executes on button press in rdbutton_rangeoff.
function rdbutton_rangeoff_Callback(hObject, eventdata, handles)
% hObject    handle to rdbutton_rangeoff (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hint: get(hObject,'Value') returns toggle state of rdbutton_rangeoff
mutual_exclude(handles.rdbutton_rangeon) ;
 

% --- Executes on button press in rdbutton_rangeon.
function rdbutton_rangeon_Callback(hObject, eventdata, handles)
% hObject    handle to rdbutton_rangeon (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hint: get(hObject,'Value') returns toggle state of rdbutton_rangeon
mutual_exclude(handles.rdbutton_rangeoff) ;

% --- Executes on button press in push_range.
function push_range_Callback(hObject, eventdata, handles)
% hObject    handle to push_range (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set([handles.push_datapreprocess,handles.ppmnu_datapreprocess],'Enable','on')
[deci_x,deci_y,dfactor]=decimate_data(handles);
if (get(handles.rdbutton_rangeon,'Value') == get(handles.rdbutton_rangeon,'Max')) 
    setstatus(gcbf,'Press Left Mouse Button to Choose 2 Points in Original Data Plot');
    [handles.window_x,handles.window_y]= windowing_data(deci_x,deci_y);
    handles.flagwindow=1;
    guidata(hObject, handles);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品99国产精品| 精品一区二区三区免费毛片爱| 欧美视频精品在线观看| 国内精品在线播放| 亚洲成人av免费| 国产日韩精品久久久| 欧美日本在线一区| 成人国产精品免费观看| 日本va欧美va欧美va精品| 日韩毛片精品高清免费| 久久男人中文字幕资源站| 欧美日韩国产高清一区二区 | 狠狠色伊人亚洲综合成人| 亚洲精品日韩专区silk| 精品国产乱码久久久久久闺蜜 | 丁香婷婷综合网| 麻豆高清免费国产一区| 亚洲小少妇裸体bbw| 国产精品久久久久一区| 久久久综合九色合综国产精品| 欧美系列一区二区| 97久久人人超碰| 国产成人综合亚洲网站| 久久99精品久久久久婷婷| 亚洲福利一区二区三区| 亚洲自拍偷拍网站| 亚洲另类色综合网站| 国产精品久久毛片a| 日本一区二区三区久久久久久久久不 | 久久亚洲精华国产精华液| 91视视频在线直接观看在线看网页在线看| 免费国产亚洲视频| 午夜精品久久一牛影视| 亚洲网友自拍偷拍| 亚洲精品欧美专区| 亚洲精品一二三四区| 国产精品你懂的在线欣赏| 国产婷婷一区二区| 337p日本欧洲亚洲大胆精品 | 国产综合色在线视频区| 裸体歌舞表演一区二区| 丝袜诱惑亚洲看片| 奇米一区二区三区| 免费高清在线一区| 九一久久久久久| 精品一区二区三区欧美| 中文字幕视频一区二区三区久| 国产精品电影一区二区| 国产欧美综合色| 国产日韩高清在线| 中文字幕第一页久久| 国产精品国产三级国产三级人妇 | 国产精品剧情在线亚洲| 亚洲欧美自拍偷拍| 亚洲一区免费在线观看| 日日欢夜夜爽一区| 久久精品国产澳门| 国产福利一区二区三区视频在线 | 国产盗摄女厕一区二区三区| 国产一区二区三区免费| 国产白丝网站精品污在线入口| 国产精品一区二区黑丝| 99久久99久久精品免费看蜜桃 | 久久久精品免费免费| 中文无字幕一区二区三区| 在线日韩国产精品| 色婷婷久久综合| 欧美久久久久久蜜桃| 精品1区2区在线观看| 一区二区三区丝袜| 日韩精品成人一区二区三区 | 国产99久久久久久免费看农村| 成人精品gif动图一区| 欧美在线免费观看亚洲| 欧美成人精品福利| 中文字幕欧美一| 蜜桃视频在线观看一区二区| 成人综合婷婷国产精品久久 | 成人免费观看男女羞羞视频| 91成人看片片| 欧美一级在线视频| 亚洲日本免费电影| 麻豆成人久久精品二区三区小说| 成人动漫视频在线| 制服丝袜av成人在线看| 国产精品美女久久久久久2018| 爽好多水快深点欧美视频| 国产成人午夜99999| 欧美色涩在线第一页| 国产日韩成人精品| 日韩精品一区第一页| 亚洲电影一级黄| 日韩欧美一区二区视频| 国产精品水嫩水嫩| 日本伊人午夜精品| 色先锋久久av资源部| 久久免费视频色| 午夜欧美大尺度福利影院在线看| 丁香天五香天堂综合| 欧美一区午夜精品| 一区二区三区在线观看欧美| 国产传媒日韩欧美成人| 91精品国产综合久久久久久久| 国产精品久久久久婷婷| 蜜臀va亚洲va欧美va天堂| 欧美影院一区二区| 国产精品乱人伦一区二区| 激情另类小说区图片区视频区| 欧美影视一区二区三区| 中文字幕日韩欧美一区二区三区| 久久精品国产亚洲一区二区三区| 在线免费精品视频| 亚洲人被黑人高潮完整版| 国产福利一区二区| 26uuu国产在线精品一区二区| 五月天激情小说综合| 欧洲av一区二区嗯嗯嗯啊| 国产精品卡一卡二卡三| 美腿丝袜亚洲色图| 一区二区三区精品视频在线| 免费高清在线一区| 欧美日韩不卡一区| 亚洲国产成人高清精品| 99视频热这里只有精品免费| 久久久亚洲国产美女国产盗摄| 天天综合色天天综合| 欧美日韩中文字幕一区| 亚洲伊人伊色伊影伊综合网| 色先锋aa成人| 一区二区三区四区在线播放| 一本大道久久a久久综合| 一区精品在线播放| 99国产精品久久久久久久久久久| 欧美国产综合色视频| 国产成人久久精品77777最新版本| 久久综合狠狠综合久久激情| 久久99国产精品免费| 欧美va天堂va视频va在线| 蜜乳av一区二区三区| 日韩欧美中文字幕制服| 六月婷婷色综合| 精品捆绑美女sm三区| 韩国午夜理伦三级不卡影院| 精品国产不卡一区二区三区| 国产在线视频一区二区三区| 亚洲色图在线视频| 波多野洁衣一区| 亚洲人午夜精品天堂一二香蕉| 日本久久电影网| 91精品国产福利在线观看| 欧美日韩精品欧美日韩精品一| 亚洲精品大片www| 欧美丝袜自拍制服另类| 日韩高清不卡一区二区三区| 日韩精品一区二区三区三区免费| 韩国三级中文字幕hd久久精品| 国产无遮挡一区二区三区毛片日本| 高清久久久久久| 亚洲精品一二三四区| 欧美军同video69gay| 黄色小说综合网站| 《视频一区视频二区| 欧美日韩一区二区三区在线看 | 久久一二三国产| 白白色 亚洲乱淫| 一区二区三区国产| 欧美一区二区国产| 国产**成人网毛片九色 | 亚洲成人免费观看| 欧美成人伊人久久综合网| 粉嫩久久99精品久久久久久夜| 亚洲欧美国产高清| 日韩欧美视频在线| 91在线观看美女| 日本欧美一区二区在线观看| 国产欧美日韩久久| 欧美精品日韩综合在线| 国产高清不卡一区二区| 一区二区欧美在线观看| 精品国免费一区二区三区| 99精品久久99久久久久| 日韩av中文在线观看| 国产精品乱码一区二区三区软件| 欧美剧情电影在线观看完整版免费励志电影| 看片网站欧美日韩| 亚洲美女免费视频| wwww国产精品欧美| 91国产免费观看| 国产麻豆精品在线观看| 亚洲一级二级在线| 欧美激情一区三区| 日韩视频免费观看高清完整版 | 欧美刺激脚交jootjob| 97精品超碰一区二区三区| 蜜桃精品视频在线观看| 亚洲激情在线激情| 欧美国产欧美综合| 精品国产一二三| 欧美精品一二三| 色综合久久99|