mat_mult - mat=A*B elseif S1(1)==S2(1 mat=A*B else...

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

View Full Document Right Arrow Icon
function [mat, A, B] = mat_mult(A,B) S1=size(A); S2=size(B); if S1(2)==S2(1)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: mat=A*B elseif S1(1)==S2(1) mat=A'*B else disp '-9999' end...
View Full Document

This note was uploaded on 11/16/2009 for the course ENGIN 7 taught by Professor Horowitz during the Spring '08 term at Berkeley.

Ask a homework question - tutors are online