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)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194186/image.png)
2 Comments
Answers (1)
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.
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!