convert to user interface input clc; clear all; close all; y = input ( ' enter m
Fantastic news! We've Found the answer you've been seeking!
Question:
convert to user interface input
clc;
clear all;
close all;
y inputenter mn matrix:Enter matrix y
z inputenter np matrix:Enter matrix z
m n sizey; Find number of rows and column
m n sizez;
x zerosmn;
for i :mloop will run upto number of rows in first matrix
for j :nrun upto number of column in the second matrix
for k :nrun upto either n or m as both are equal
xij xij yikzki;
k k;
end
j j;
end
i i;
end
dispfinal output matrix:;
dispx; display final output matrix
Related Book For
Systems Analysis And Design
ISBN: 978-1119496489
7th Edition
Authors: Alan Dennis, Barbara Wixom, Roberta M. Roth
Posted Date: