Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

2 views (last 30 days)

Answers (1)

Image Analyst
Image Analyst on 9 Nov 2018
Edited: Image Analyst on 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.

This question is closed.

Community Treasure Hunt

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

Start Hunting!