I'd like to draw a monkey saddle surface using matlab. But how do I plot a function of several variables in matlab? I never did that before. I can define $x$ and $y$ as two vectors and then according to wikipedia the monkey saddle equation is $x^3-3xy^2$ so all I wanna do is plot that function? Are there any more monkey saddle surfaces that might be nicer than this one?
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
closed as off-topic by SHOBHIT GAUTAM, azimut, amWhy, Norbert, Daniel Robert-Nicoud Oct 29 '13 at 18:46
This question appears to be off-topic. The users who voted to close gave this specific reason:
The easiest way is to use the
should work. I don't have my MATLAB install on this computer, so I cannot verify.