解決済み


Multiply pi
Multiply pi with x!

1年以上 前

解決済み


Divide pi
Divide pi by x!

1年以上 前

解決済み


Double all elements in the array
Duplicate all elements in the array

1年以上 前

解決済み


Converts numbers into characters
Converts numbers into characters

1年以上 前

解決済み


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

1年以上 前

解決済み


Find the max element of the array
Find the max element of the array

1年以上 前

解決済み


kmph to mps
convert kilometer per hour to meter per second

1年以上 前

解決済み


Is my wife right?
Regardless of input, output the string 'yes'.

1年以上 前

解決済み


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

1年以上 前

解決済み


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

1年以上 前

解決済み


Determine the square root
Determine the square root of the value the user has entered, n.

1年以上 前

解決済み


square root
Find the square root (y) of an input (x).

1年以上 前

解決済み


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

1年以上 前

解決済み


y equals x divided by 2
function y = x/2

1年以上 前

解決済み


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

1年以上 前

解決済み


easy problem
Find the last element of the array

1年以上 前

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

1年以上 前

解決済み


Square root of a number
Write a code that will output the square root of x.

1年以上 前

解決済み


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

1年以上 前

解決済み


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

1年以上 前

解決済み


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

1年以上 前

解決済み


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

1年以上 前

解決済み


calculate the length of matrix
input 1 array, calculate the length

1年以上 前

解決済み


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

1年以上 前

解決済み


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

1年以上 前

解決済み


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

1年以上 前

解決済み


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

1年以上 前

解決済み


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

1年以上 前

解決済み


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

1年以上 前

解決済み


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

1年以上 前

さらに読み込む