MATLAB HW2

MATLAB HW2 - Section B05 Nicholas Nguyen 2. 1 > C = [2 1...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Section B05 Nicholas Nguyen 2.1 >> C = [2 1 5; 1 0 6; -6 2 4]; d = [-1; 2; 3]; >> x = C\d x =    -0.7778    -1.7593     0.4630 >> C*x-d ans =   1.0e-015 *    -0.4441          0          0 2.2 >> C = [-10 4; 15 -6]; d = [0; 0]; >> x = C\d Warning: Matrix is singular to working precision.  x =
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
   NaN    NaN 2.3 >> C = [1 -3 2; -2 6 -4; 4 -12 8]; d = [0; 0; 0]; >> rref([C d]) ans =      1    -3     2     0      0     0     0     0      0     0     0     0 There are 2 free Variables: x2 and x3. 2.4
Background image of page 2
2.6 >> C = [0.25 0.15 0.25 0.18 0.20; 0.15 0.28 0.18 0.17 0.05; 0.22 0.19 0.22 0.22 0.10; 0.20 0.15 0.20 0.28 0.15; 0.18 0.23 0.15 0.15 0.50] C =     0.2500    0.1500    0.2500    0.1800    0.2000     0.1500    0.2800    0.1800    0.1700    0.0500     0.2200    0.1900    0.2200    0.2200    0.1000     0.2000    0.1500    0.2000    0.2800    0.1500     0.1800    0.2300    0.1500    0.1500    0.5000
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/20/2012 for the course MATH 20F taught by Professor Buss during the Spring '03 term at UCSD.

Page1 / 6

MATLAB HW2 - Section B05 Nicholas Nguyen 2. 1 > C = [2 1...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online