init
This commit is contained in:
11
FOTF Toolbox/fotf2sym.m
Normal file
11
FOTF Toolbox/fotf2sym.m
Normal file
@ -0,0 +1,11 @@
|
||||
function G1=sym(G)
|
||||
% FOTF2sym convert FOTF to symbolic expression such that
|
||||
% more accurate computations are allowed.
|
||||
% See also, sym2fotf to convert results back
|
||||
|
||||
% Copyright (c) Dingyu Xue, Northeastern University, China
|
||||
% Last modified 18 May, 2022
|
||||
[n,m]=size(G);
|
||||
for i=1:n, for j=1:m
|
||||
G1(i,j)=ppoly2sym(G(i,j).num)/ppoly2sym(G(i,j).den);
|
||||
end, end, end
|
||||
Reference in New Issue
Block a user