This preview shows page 1. Sign up to view the full content.
Unformatted text preview: matrices, P & Q, and scalars alpha and beta, it computes the linear combination, C. You must use loop(s) to perform the linear combination and cannot use any built in MATLAB commands or vectorization (i.e. colon notation for additions). Then, in the MATLAB command window (see below) call the function using matrices and scalars already defined there. ==================MATLAB COMMAND WINDOW=================== >> A= [1 2 3; 2 1 2; 3 3 2]; B= [6 1 2; 3 4 2; 5 6 1]; >> c=4; d=1; >>...
View
Full
Document
This note was uploaded on 04/21/2010 for the course PGE 310 taught by Professor Klaus during the Spring '06 term at University of Texas at Austin.
 Spring '06
 Klaus

Click to edit the document details