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!