general2012 0 Junior Poster in Training

i am trying to declare two symbols and then write a function with these two variable

syms x y
f(x,y)=3xy;
??? Error using ==> mupadmex
Error in MuPAD command: DOUBLE cannot convert the input expression into a double array.

but matlab is not allowing me to so.why this error is happening ???

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.