View Single Post
  #2  
Old May 11th, 2008, 07:01 AM
CaptainBlack's Avatar
CaptainBlack CaptainBlack is offline
Grand Panjandrum
 
Join Date: Nov 2005
Location: South of England
Posts: 11,375
Country:
Thanks: 667
Thanked 3,618 Times in 2,915 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

Quote:
Originally Posted by Dr Zoidburg View Post
Matrix M = A=\begin{bmatrix}1 && 3 \\-2 && 4 \\\end{bmatrix} represents a linear transformation T: R^{2} -> R^{2}.
Let u = \begin{bmatrix}1 \\-1 \\\end{bmatrix} and v = \begin{bmatrix}-2 \\1 \\\end{bmatrix}
(a) Find T(u) and T(v)
(b) Show that T (u + v) = T (u) + T (v).

I'm pretty hopeless at Matlab. I can work these out by hand: eg T(u) = \begin{bmatrix}-2 \\-6 \\\end{bmatrix} (correct?) but what commands do I use in Matlab to get this?
A*u and A*v

The default product type for Matlab is matrix product so just multiply them.

RonL
__________________
Truth does not change because it is, or is not, believed by a majority of the people.

Giordano Bruno
Reply With Quote