Hash Bash

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
2 Downloads
Updated 14 Jun 2025

View License

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 Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0