Tuesday, 25 February 2014

Matlab program to verify transpose of matrices

No comments :


clc;
clear;
m=input('enter the matrix:');
n=input('enter another matrix:');
p=m*n
t=p';
a=n';
b=m';
c=a*b
if (p==c)
    display('verified')
end;
Share This

No comments :