Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

2 次查看(过去 30 天)

回答(1 个)

Image Analyst
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.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by