Given an fraction decimal number n, convert it to its equivalent binary number.
If it is an infinite binary fraction, keep it upto k precision point.
Similar to my Cody problem.
sorry..didn't see that
Connect Four Win Checker
Find the sum of the elements in the "second" diagonal
Create a matrix X, where each column is a shifted copy of the vector v
Combinations without using nchoosek
Magic is simple (for beginners)
Can the knight take out the pawn?
Do they touch?
The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
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