IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
uip_fcon_mea_norm.m
Go to the documentation of this file.
1 %>@file
2 %>@ingroup guigroup
3 %>@brief Properties Window for @ref fcon_mea_norm
4 %>
5 %>@image html Screenshot-Norm.png
6 %>
7 %> <b>Type of norm</b> - see MATLAB's @c norm() function, fcon_mea_norm::type
8 %>
9 %>
10 %> @sa fcon_mea_norm
11 
12 %>@cond
13 function result = uip_fcon_mea_norm(o, data)
14 result.flag_ok = 0;
15 p = inputdlg('Type of norm (see MATLAB norm() function for options):', 'Norm', 1, {'2'});
16 if ~isempty(p)
17  type = eval(p{1});
18  if ischar(type)
19  type = ['''' type ''''];
20  else
21  type = num2str(type);
22  end;
23  result.params = {'type', type};
24  result.flag_ok = 1;
25 end;
26 %>@endcond