필터 지우기
필터 지우기

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