Info
此问题已关闭。 请重新打开它进行编辑或回答。
How do i figure out the size of the matrices for a and g?
2 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194186/image.png)
2 个评论
回答(1 个)
Image Analyst
2018-11-9
编辑:Image Analyst
2018-11-9
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 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!