Info

This question is closed. Reopen it to edit or answer.

A matlab code for multiplication of matrices....URGENT

1 view (last 30 days)
Can anyone give me a code for writing two N x N matrix A and B and multiplying them to be stored as C.the value of every element in A is given by a function a(i,j,N) and B is the transpose of A.

Answers (1)

Lalit Patil
Lalit Patil on 27 Dec 2012
N = 3
A = rand(N,N)
B = transpose(A)
C = A*B

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!