1 function expr=char2inline(expr);
\r
2 %CHAR2INLINE Input arguments:
\r
3 % 1) expr: An cell array containing string expressions
\r
5 % Converts the cell elements to inline functions.
\r
7 % Toolbox for nonlinear filtering.
\r
8 % Copyright (C) 2005 Jakob Rosén <jakob.rosen@gmail.com>
\r
10 % This program is free software; you can redistribute it and/or
\r
11 % modify it under the terms of the GNU General Public License
\r
12 % as published by the Free Software Foundation; either version 2
\r
13 % of the License, or (at your option) any later version.
\r
15 % This program is distributed in the hope that it will be useful,
\r
16 % but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
17 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
18 % GNU General Public License for more details.
\r
20 % You should have received a copy of the GNU General Public License
\r
21 % along with this program; if not, write to the Free Software
\r
22 % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
\r
24 m=size(expr,1); %rows
\r
25 n=size(expr,2); %columns
\r
29 expr{j,i}=inline(expr{j,i},'x','t','w','u');
\r