function - 9 4 1 25 16 9 4 16 25 AT1 = 3-2 1 5 4-3...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [B,M]= matoperation(A) [m, n]= size(A); for i=1:m; for j=1:n; B(i,j)=A(i,j)*A(i,j); M=reshape(A,n,m); end end end [AES1,AT1]=matoperation(A1) AES1 =
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 9 4 1 25 16 9 4 16 25 AT1 = 3 -2 1 5 4 -3 2 -4 -5 [AES2,AT2]=matoperation(A2) AES2 = 36 9 4 16 25 9 AT2 =-6 5 4 2 3 -3...
View Full Document

This note was uploaded on 11/10/2010 for the course PGE 323K taught by Professor Lake during the Spring '08 term at University of Texas.

Ask a homework question - tutors are online