IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
fel.m
Go to the documentation of this file.
1
%>@ingroup
string
2
%>@file
3
%> @brief Returns the first element of a cell or the argument itself
if
it is not a cell.
4
5
%> @param c
6
%> @param n Bonus
7
function
s =
fel
(c, n)
8
if iscell(c)
9
if nargin() == 1
10
n = 1;
11
end;
12
s = c{n};
13
else
14
s = c;
15
end;
fel
function fel(in c, in n)
m
misc
string
fel.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1