About size function -Syntax : [m,n] = size(X)
古いコメントを表示
Hello, I wrote this code, but what does the number 1500 means?

i searched about 'size'through 'help' and they say '[m,n] = size(x)' returns the size of matrix X. But the size of the image I used is 300(height)*500(length).
Why the first l is 1500?
Thanks.
1 件のコメント
Star Strider
2016 年 7 月 26 日
Images are 3D.
[h,l,d] = size(c)
will give the correct result.
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Image Segmentation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!