Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

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

Asked by sneha

sneha (view profile)

on 27 Dec 2012
This question is closed and may reopen in the future if edited.

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.

sneha

sneha (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Lalit Patil

Lalit Patil (view profile)

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

0 Comments

Lalit Patil

Lalit Patil (view profile)

Contact us