Convert numerictype
or quantizer
object
to string
s = tostring(f)
s = tostring(F)
s = tostring(T)
s = tostring(q)
s = tostring(f)
converts fi
object f
to
a character vector s
such that eval(s)
would
create a fi
object with the same properties as f
.
s = tostring(F)
converts fimath
object F
to
a character vector s
such that eval(s)
would
create a fimath
object with the same properties
as F
.
s = tostring(T)
converts numerictype
object T
to
a character vector s
such that eval(s)
would
create a numerictype
object with the same properties
as T
.
s = tostring(q)
converts quantizer
object q
to
a character vector s
. After converting q
,
the function eval(s)
can use s
to
create a quantizer
object with the same properties
as q
.
numerictype
Object to a StringThis example uses the tostring
function to
convert a numerictype
object T
to
a string s
.
T = numerictype(1,16,15); s = tostring(T); T1 = eval(s); isequal(T,T1)
ans = 1
fi
Object to a character vectorThis example uses the tostring
function to
convert a fi
object f
to a character
vector s
.
f = fi(pi,1,16,10); s = tostring(f); f1 = eval(s); isequal(f,f1)
ans = 1
eval
| fi
| fimath
| numerictype
| quantizer