Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Symbolic Maths

Status
Not open for further replies.

xalourengos

Computer
Joined
Nov 18, 2006
Messages
2
Location
GR
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)....?
 
hi,
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top