Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Nov 18, 2006
2
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)....?
 
Replies continue below

Recommended for you

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