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 Comments

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?
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

Answers (0)

This question is closed.

Asked:

on 20 Sep 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!