Statistiques
0 Problèmes
28 Solutions
RANG
N/A
of 301 873
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 21 444
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Reverse the characters of a string
Given a string, return the string with characters in reverse order. Example: rev_string('hello') returns 'olleh'
environ un mois il y a
A résolu
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
environ un mois il y a
A résolu
Square root of a number
Write a code that will output the square root of x.
environ un mois il y a
A résolu
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
environ un mois il y a
A résolu
Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33
environ un mois il y a
A résolu
Double all elements in the array
Duplicate all elements in the array
environ un mois il y a
A résolu
Product of Array
Given an array of numbers. Get the product of the array.
environ un mois il y a
A résolu
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
environ un mois il y a
A résolu
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
environ un mois il y a
A résolu
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
environ un mois il y a
A résolu
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.
environ un mois il y a
A résolu
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
environ un mois il y a
A résolu
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
environ un mois il y a
A résolu
Sum the two halves of an array with an even number of elements
given an array of an even number of elements, sum the front and back half of the array and return the sums as an array For exam...
environ un mois il y a
A résolu
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
environ un mois il y a
A résolu
Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...
environ un mois il y a
A résolu
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
environ un mois il y a
A résolu
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
environ un mois il y a
A résolu
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
environ un mois il y a
A résolu
High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...
environ un mois il y a
A résolu
A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...
environ un mois il y a
