Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are lower or equal to n (i,j,k integers).
The problem statement should specify that i, j, and k are non-negative integers or the number of answers becomes infinite.
Also, why is 1 not included in all of the answers. 2^0*3^0*5^0 = 1
Prime factor digits
Getting the indices from a vector
Celsius to Fahrenheit converter
Find out sum and carry of Binary adder
Iterative sum of digits of 2^n number
Maximum of ND-array
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office