Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How do i figure out the size of the matrices for a and g?

1 vue (au cours des 30 derniers jours)
John Marl
John Marl le 9 Nov 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
  2 commentaires
Star Strider
Star Strider le 9 Nov 2018
What is ‘SanDiego.jpg’?
per isakson
per isakson le 9 Nov 2018
There is a function named, size

Réponses (1)

Image Analyst
Image Analyst le 9 Nov 2018
Modifié(e) : Image Analyst le 9 Nov 2018
Try this
[rows, columns, numberOfColorChannels] = size(a);
Similar for g. You can also use whos
whos a
whos g
I really suggest strongly that you use more descriptive variable names. You don't want your program to become an alphabet soup mess of a code.

Community Treasure Hunt

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

Start Hunting!

Translated by