Help with writing program with the matrix

1 view (last 30 days)
maharaj
maharaj on 13 Mar 2013
I can generate a X matrix with 64*1 dimension and now I want to multiply this matrix with a D matrix of dimensions 224*64 and obtain a matrix Y.
[Y] = [D]*[x]
Can anyone help me get a program which can be fit to find Y easily.
Your help is appriciated. Thank You.

Answers (1)

Juan Camilo Medina
Juan Camilo Medina on 13 Mar 2013
Y=D*X;
If you have Y and are looking for X then:
X=D\Y;

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!