3 %>@brief Properties Window
for @ref
fcon_lda
5 %> @image html Screenshot-uip_fcon_lda.png
13 function varargout = uip_fcon_lda(varargin)
14 % Begin initialization code - DO NOT EDIT
16 gui_State =
struct(
'gui_Name', mfilename, ...
17 'gui_Singleton', gui_Singleton, ...
18 'gui_OpeningFcn', @uip_fcon_lda_OpeningFcn, ...
19 'gui_OutputFcn', @uip_fcon_lda_OutputFcn, ...
20 'gui_LayoutFcn', [] , ...
22 if nargin && ischar(varargin{1})
23 gui_State.gui_Callback = str2func(varargin{1});
27 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
29 gui_mainfcn(gui_State, varargin{:});
31 % End initialization code - DO NOT EDIT
34 % --- Executes just before uip_fcon_lda is made visible.
35 function uip_fcon_lda_OpeningFcn(hObject, eventdata, handles, varargin)
36 handles.output.flag_ok = 0;
37 guidata(hObject, handles);
41 % --- Outputs from this function are returned to the command clae.
42 function varargout = uip_fcon_lda_OutputFcn(hObject, eventdata, handles)
44 uiwait(handles.figure1);
45 handles = guidata(hObject);
46 varargout{1} = handles.output;
50 varargout{1} = output;
56 % --- Executes on button press in pushbuttonOk.
57 function pushbuttonOk_Callback(hObject, eventdata, handles)
58 handles.output.params = {...
59 'penalty', mat2str(eval(
get(handles.editP,
'String'))), ...
60 'max_loadings', mat2str(eval(
get(handles.edit_max_loadings,
'String'))) ...
62 handles.output.flag_ok = 1;
63 guidata(hObject, handles);
68 function editP_Callback(hObject, eventdata, handles)
69 % --- Executes during
object creation, after setting all properties.
70 function editP_CreateFcn(hObject, eventdata, handles)
71 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
72 set(hObject,'BackgroundColor','white');
77 function edit_max_loadings_Callback(hObject, eventdata, handles)
78 % --- Executes during
object creation, after setting all properties.
79 function edit_max_loadings_CreateFcn(hObject, eventdata, handles)
80 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
81 set(hObject,'BackgroundColor','white');
Fisher's Linear Discriminant Analysis.
function gui_set_position(in hObject)
Property penalty
Penalty coefficients: [0-th derivative penalty, 1st derivative penalty, 2nd ..., ...].