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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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

*No products are associated with this question.*

Answer by Walter Roberson
on 29 Mar 2013

Use the symbolic toolbox function diff()

Show 2 older comments

Walter Roberson
on 3 Apr 2013

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.

## 3 Comments

## Walter Roberson

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/69058#comment_139724

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.

## kash

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/69058#comment_139727

it is equation taken from

http://en.wikipedia.org/wiki/Navier%E2%80%93Stokes_equations

which is Navier–Stokes equations

## kash

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/69058#comment_139731

its for fluid flow