Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Matrix operation with equation

1 回表示 (過去 30 日間)
Andi Tarigan
Andi Tarigan 2014 年 1 月 29 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello, I have a equation:
X' = X + (0.7 * PN)
Where:
X = Matrix with size 2x2 as much as 64x4 (256)
PN = Matrix with size 1024x1
What should I do to get X', with the same shape and size with X?
Would you help me please?
Thankyou.
  7 件のコメント
José-Luis
José-Luis 2014 年 1 月 29 日
編集済み: José-Luis 2014 年 1 月 29 日
Correction: they need to have the same number of elements, unless you are adding a scalar to a matrix.
Andi Tarigan
Andi Tarigan 2014 年 1 月 29 日
Can you help me to be able to work on this program as you say?

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 1 月 29 日
If X' is the transpose of X, the only way that X and X' are the same size is when X is a square matrix
  1 件のコメント
Andi Tarigan
Andi Tarigan 2014 年 1 月 29 日
So I have to first change the size of X in order to be same with the PN? Because I should be able to also restore X' into the form of a 2x2 matrix, only it's value has changed.

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by