MATLAB Answers


how to implement cartesian coordinates

Asked by kash
on 29 Mar 2013

I have a image

which consists of cartesian coordinates,plz tell how to implement these coordinates,which function must be used

Kindly help


What is the context for that? It does not appear to be general Cartesian coordinates: it appears to be the expression in Cartesian coordinates of something like a wave function or a rotation.

on 29 Mar 2013

it is equation taken from

which is Navier–Stokes equations

on 29 Mar 2013

its for fluid flow



No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 29 Mar 2013

Use the symbolic toolbox function diff()


8 is correct. f = x^3, and 2^3 is 8.

on 3 Apr 2013

after differentation we get 3x^2,so the answer should be 12 rite

No, the answer for a=subs(f,[x],2) should be 8. Calculating diff(f) makes no difference to the value you find by substituting something into f.

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!