Top 10% contributor
23 hours ago
1 year ago
Convert between binary fixed point two's complement strings and decimal numbers.
3 years ago
Compute Fresnel integral.
Given an integer n, return the corresponding ordinal number as a character string. For example,
2 years ago
A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...
Reverse the vector elements.
Input x = [1,2,3,4,5,6,7,8,9]
Output y = [9,8,7,6,5,4,3,2,1]
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
Given the input n, return true if n is odd or false if n is even.
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Regardless of input, output the string 'yes'.
4 years ago
Extension of the built-in MATLAB function hypot for multiple inputs.
Choose your country 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 location from the following list:
See all countries