Please help me how to multiply diffrent matriks?

This is the different matrix I have.
x1 = 583x1037x3 uint8
X2 = 583x1037 uint8
Before I get error cause different type class of integer and double. Now I get error in different dimension. Please help me how to multiply this, it will great if I can continue my code

댓글 수: 3

Walter Roberson
Walter Roberson 2018년 9월 20일
편집: Walter Roberson 2018년 9월 20일
You have not defined what you want the output to be -- you have not defined how it is to be calculated and have not defined what size it is to be.
There are reasonable interpretations that would result in any of:
  • 583 x 583
  • 1037 x 1037
  • 583 x 1037
  • 1037 x 583
  • 583 x 583 x 3
  • 1037 x 1037 x 3
  • 583 x 1037 x 3
  • 1037 x 583 x 3
Also, which MATLAB release are you using?
Oman Wisni
Oman Wisni 2018년 9월 20일
편집: Oman Wisni 2018년 9월 20일
I using matlab r2015a..
Yes, I want to multiply the channel from green channel and saturation channel.
Its okay, I already can continue my program. Thanks for your answers
x1(:,:,2) .* x2
perhaps

답변 (0개)

이 질문은 마감되었습니다.

질문:

2018년 9월 20일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by