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
 Spring '06
 Klaus
 matlab, Vector Space, Command pattern, Linear combination, MATLAB command window

Click to edit the document details