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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Hosnel
on 27 Jul 2012

I need some Matlab help for a Project I'm doing in a Linear Algebra class I'm taking. Could someone help out?

Answer by Sean de Wolski
on 27 Jul 2012

Edited by Sean de Wolski
on 27 Jul 2012

Since you seem to be looking for the *ez* way out:

syms x y ezsurf(2*sin(x*y),[-2.5 2.5])

Answer by Luffy
on 27 Jul 2012

What is M(Y),M(R),M(P) in part B?? For A) part, x = -2.5:0.001:2.5; y = -2.5:0.001:2.5; z = 2*sin(x.*y); plot3(x,y,z); grid on;

Show 10 older comments

Sean de Wolski
on 30 Jul 2012

We're more than willing to help but not more than willing to doit4u.

What have *you* done so far? What effort have *you* expended on *your* project?

Walter Roberson
on 30 Jul 2012

We can invent any number of meanings for what M subscript gamma means, but the probability that our inventions will happen to match what your professor wants is somewhat low. If you have not found out yet what the M refer to, it would probably be more effective to ask your professor than for us to give you a meaning that later turns out to be something rather different than what was desired. If you *have* found out what the M refer to, it would **definitely** be more effective for you to tell us than for us to continue to guess.

Note: This site is for questions about MATLAB, not for questions about linear algebra. When you have the meaning of your assignment sorted out, and have specific questions about how to translate that meaning into MATLAB notation, then we can help out with that.

One step: the MATLAB notation for the matrix multiplication of A with B, is A * B

http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab

## 4 Comments

## Matt Kindig (view profile)

Direct link to this comment:http://nl.mathworks.com/matlabcentral/answers/44656#comment_91824

What have you done so far with your assignment? Where are you specifically stuck in Matlab? Can you show us your code so far?

## Hosnel (view profile)

Direct link to this comment:http://nl.mathworks.com/matlabcentral/answers/44656#comment_91861

Luffy Answered the portion of the question I had already figured out. It's part (B) is where I get stuck at. I'm unsure what the professor is asking for. Has anyone encountered such a problem before? If so HELP!

## Yash (view profile)

Direct link to this comment:http://nl.mathworks.com/matlabcentral/answers/44656#comment_91892

surface is a type of 3D plot you have to do for the mentioned question for the 3 parameterts mentioned you have to plot the surface plot, its a type of 3D plot like like plot where u plot plot(x,y) it has three parameters (x,y,z)and you can animate by holding

## Hosnel (view profile)

Direct link to this comment:http://nl.mathworks.com/matlabcentral/answers/44656#comment_92220

I just asked the professor, he did some more clarification on it. Apparently, my partner had missed some more information... Here it is: