Symbolic Maths
Symbolic Maths
(OP)
I am new to matlab...I type this:
syms x y
f = sym('f(x,y)=x*y^2')
so i have f(x,y)=x*y^2 and i want to calculate f(1,1) and many other values for many caples of x,y...What is the command for calculating f(1,1)..f(2,3)....?
syms x y
f = sym('f(x,y)=x*y^2')
so i have f(x,y)=x*y^2 and i want to calculate f(1,1) and many other values for many caples of x,y...What is the command for calculating f(1,1)..f(2,3)....?





RE: Symbolic Maths
you need to read carefully matlab help about symbolic toolbox, it's readily available.
type at matlab prompt
>>syms x y
>>f=x*y^2
>>subs(1,1)
hope that my reply is not too late!!
sincerely