By Using Matlab
Matcal (A, B) returns matrix A and B products, while printing
the matrix computation formula in outmat. txt file as follows. (The
sizes of A and B are very variable. In other words, it shall be
possible to perform operation for matrix operation of 2 x 2 size,
and it shall also be possible to calculate and output for 100 X 100
matrix models. )
>> A = [1 23;4 56 ; 79]
>> B = [0 0 ; 0 1 0 ; 0 1]
>> Matcal (A, B)
Ans = 1 2 3
4 5 6
79
In outmat.txt.
[1 2]x[ 0]=[123]
[4 5 6] [0 0] = [4 5 6]
[7 8 9] [0 1] = [7 8 9]
10 points if calculation results for five-to-five metrics can be
printed
5 points if only 3 x 3 is possible
code:
result:
result:
Get Answers For Free
Most questions answered within 1 hours.