Hash Bash
Version 1.0.0 (1.14 KB) by
MUHAMMED SHANSHAD
it generats list of numbers from 1 to user input. returns 'hash' for number divisible by 3, 'bash' for divisible by 5 & 'hash bash' for 3&5
user can generate a list of numbers from 1 to the input. it displays from that array of numbers.if the number is divisible by 3 it shows 'hash' in output instead of the number.similarly 'bash' for numbers divisible by 5, and shows 'hash bash' for numbers which are divisible by both 3 and 5.for any other numbers it displays the number itself.
Cite As
MUHAMMED SHANSHAD (2025). Hash Bash (https://uk.mathworks.com/matlabcentral/fileexchange/181283-hash-bash), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2025a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
