find_matrix_dimensions
Version 1.0.1 (1,25 KB) von
Dimani4
Finding matrix buried in matrix with zeros
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.
Zitieren als
Dimani4 (2024). find_matrix_dimensions (https://www.mathworks.com/matlabcentral/fileexchange/94760-find_matrix_dimensions), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2016b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | change in description (program works not only with 1's but with every number). |
||
1.0.0 |