function varargout = exportresults(varargin)
% EXPORTRESULTS M-file for exportresults.fig
% EXPORTRESULTS, by itself, creates a new EXPORTRESULTS or raises the existing
% singleton*.
%
% H = EXPORTRESULTS returns the handle to a new EXPORTRESULTS or the handle to
% the existing singleton*.
%
% EXPORTRESULTS('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in EXPORTRESULTS.M with the given input arguments.
%
% EXPORTRESULTS('Property','Value',...) creates a new EXPORTRESULTS or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before exportresults_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to exportresults_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help exportresults
% Last Modified by GUIDE v2.5 06-Jul-2003 12:19:41
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @exportresults_OpeningFcn, ...
'gui_OutputFcn', @exportresults_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 exportresults is made visible.
function exportresults_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 exportresults (see VARARGIN)
% Choose default command line output for exportresults
handles.output = hObject;
set(hObject,'Color','white');
% Set the toolbar for the figure
pronytoolbar(hObject,'on');
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes exportresults wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = exportresults_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;
% --- Executes on button press in push_exportwspace.
function push_exportwspace_Callback(hObject, eventdata, handles)
% hObject handle to push_exportwspace (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
if(evalin('base','exist(''PronyData'',''var'')')==0)
msgbox('Please Prepare Prony Analysis Data to Export the Results','Prepare Prony Analysis GUI Data is Empty','replace')
whitebg('white');
else
IGuiData=evalin('base','PronyData');
if (get(handles.chkbx_all1,'Value') == get(handles.chkbx_all1,'Max'))
assignin('base',get(handles.edit_all1,'String'),IGuiData)
end
if (get(handles.chkbx_raw,'Value') == get(handles.chkbx_raw,'Max'))
name=get(handles.edit_raw,'String');
name= struct('x',[],'y',[]);
name.x=IGuiData.x_val;
name.y=IGuiData.y_val;
assignin('base',get(handles.edit_raw,'String'),name);
end
if (get(handles.chkbx_range,'Value') == get(handles.chkbx_range,'Max'))
% then checkbox is checked-take approriate action
name=get(handles.edit_range,'String');
name= struct('x',[],'y',[]);
name.x=IGuiData.window_x;
name.y=IGuiData.window_y;
assignin('base',get(handles.edit_range,'String'),name);
end
if (get(handles.chkbx_decimated,'Value') == get(handles.chkbx_decimated,'Max'))
% then checkbox is checked-take approriate action
name=get(handles.edit_decimated,'String');
name= struct('x',[],'y',[]);
name.x=IGuiData.deci_x;
name.y=IGuiData.deci_y;
assignin('base',get(handles.edit_decimated,'String'),name);
end
if (get(handles.chkbx_preprocess,'Value') == get(handles.chkbx_preprocess,'Max'))
% then checkbox is checked-take approriate action
name=get(handles.edit_preprocess,'String');
name= struct('x',[],'y',[]);
name.x=IGuiData.dp_x;
name.y=IGuiData.dp_y;
assignin('base',get(handles.edit_preprocess,'String'),name);
end
end % outermost condition which checks if the data exists or not
% Export the data related to Perform Prony Analysis GUI
%----------------------------------------------------------------------
%----------------------------------------------------------------------
if(evalin('base','exist(''IIGuiData'',''var'')')==0)
msgbox('Please Perform Prony Analysis to Export the Results','Perform Prony Analysis GUI Data is Empty','replace')
whitebg('white');
else
IIGuiData=evalin('base','IIGuiData');
if (get(handles.chkbx_all2,'Value') == get(handles.chkbx_all2,'Max'))
assignin('base',get(handles.edit_preprocess,'String'),IIGuiData);
end
if (get(handles.chkbx_pronyfit,'Value') == get(handles.chkbx_pronyfit,'Max'))
name=get(handles.edit_pronyfit,'String');
name= struct('x',[],'y',[],'prony_y',[],'f',[],'fft_y',[],'fft_prony_y',[]);
name.x=IIGuiData.test_time;
name.y=IIGuiData.test_data;
name.prony_y=IIGuiData.iapp;
name.f=IIGuiData.f1;
name.fft_y=IIGuiData.fft_data1;
name.fft_prony_y=IIGuiData.fft_iapp1;
assignin('base',get(handles.edit_pronyfit,'String'),name);
end
% Export the results associated with the second plot of Prony Analysis GUI
if (get(handles.chkbx_pronymodes,'Value') == get(handles.chkbx_pronymodes,'Max'))
name=get(handles.edit_pronymodes,'String');
name=struct('x',[],'y',[],'prony_y',[],'f',[],'fft_y',[],'fft_prony_y',[]);
name.x=IIGuiData.test_time;
name.y=IIGuiData.test_data;
name.prony_y=IIGuiData.ai;
name.f=IIGuiData.f2;
name.fft_y=IIGuiData.fft_data2;
name.fft_prony_y=IIGuiData.fft_iapp2;
assignin('base',get(handles.edit_pronymodes,'String'),name);
end
% Export the results associated with the Pole Diagram of Prony Analysis GUI
if (get(handles.chkbx_poles,'Value') == get(handles.chkbx_poles,'Max'))
name=get(handles.edit_poles,'String');
name=struct('zeros',[],'poles',[]);
name.poles=IIGuiData.idennz;
name.zeros=0;
assignin('base',get(handles.edit_poles,'String'),name);
end
% Export the results associated with the Pole-Zero Diagram of Prony Analysis GUI
if (get(handles.chkbx_polezero,'Value') == get(handles.chkbx_polezero,'Max'))
name=get(handles.edit_polezero,'String');
name=struct('zeros',[],'poles',[]);
name.poles=IIGuiData.idennz;
name.zeros=IIGuiData.inummz;
as
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Prony Toolbox is a software tool in MATLAB which performs Prony analysis. Prony Toolbox (PTbox) is designed based on several considerations including data preprocessing, model order selection, model order selection criteria, signal subspace selection, signal and noise separation, root inspection and assessing residuals. The PTbox provides flexibility to compare and display analysis results simultaneously for several parameter variations.
资源推荐
资源详情
资源评论
收起资源包目录
PTbox.zip (59个子文件)
Prony Toolbox Download
pronytoolbar.m 1KB
exportresults.m 69KB
mmv2struct.m 2KB
perform_resultslist.m 667B
comparesessions.m 24KB
applyprony.m 1KB
design.html 12KB
gui.html 12KB
PCRdata
60Ar
60Ar_v400.mat 39KB
i700.DAT 58KB
v1500.DAT 62KB
v1000.DAT 63KB
60Ar_v1500.mat 39KB
60Ar_v1000.mat 39KB
60Ar_i400.mat 39KB
60Ar_i700.mat 39KB
i1000.DAT 58KB
60Ar_i1000.mat 39KB
i1500.DAT 58KB
60Ar_v700.mat 39KB
i100.DAT 58KB
v700.DAT 63KB
i400.DAT 58KB
60Ar_i1500.mat 39KB
v400.DAT 61KB
60Ar_v100.mat 39KB
save_datafile.m 181B
v100.DAT 61KB
60Ar_i100.mat 39KB
Cmp files
Ar_I_MO12.cmp 209KB
Ar_I_MO18.cmp 209KB
Ar_I_MO22.cmp 209KB
Ar_I_saddle.cmp 209KB
Ar_I_MO14.cmp 209KB
prepare_savedata.m 2KB
pronytool.fig 11KB
prepare_comparelist.m 2KB
pronyanalysistool.m 26KB
ecelogo.jpg 22KB
references.html 6KB
pronyanalysistool.fig 80KB
demos.html 3KB
exportresults.fig 103KB
preparecomparedata.m 980B
fft_analysis.m 637B
Demos
pure_demo.mat 3KB
bbnoise_demo.mat 3KB
puretone_demo.mat 3KB
create_demo.m 318B
windowing_data.m 546B
export_file.mat 472B
about.html 3KB
imageicons.mat 230KB
remove_mean.m 2KB
comparesessions.fig 51KB
pronytoolhelp.html 3KB
performprony.fig 103KB
pronytool.m 4KB
performprony.m 45KB
共 59 条
- 1
临时猿
- 粉丝: 3
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页