Find a matrix which is buried inside the matrix with zeros. For example
000000
010101
000000
010101
000000
000000
010101
answer:
1 1 1
1 1 1
1 1 1
rows=3
columns=3
It works with every numbers not just with 1's.
인용 양식
Dimani4 (2024). find_matrix_dimensions (https://www.mathworks.com/matlabcentral/fileexchange/94760-find_matrix_dimensions), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2016b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!