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

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

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

Asked by sneha 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

Products

No products are associated with this question.

1 Answer

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

0 Comments

Lalit Patil

Contact us