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 commentaires

Walter Roberson
Walter Roberson le 20 Sep 2018
Modifié(e) : Walter Roberson le 20 Sep 2018
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 le 20 Sep 2018
Modifié(e) : Oman Wisni le 20 Sep 2018
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

Réponses (0)

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by