A résolu


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

environ 8 ans il y a

A résolu


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

environ 8 ans il y a

A résolu


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

environ 8 ans il y a

A résolu


determine amount cookies left
started with 3 cookies and you never ate any how many are left

environ 8 ans il y a

A résolu


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

environ 8 ans il y a

A résolu


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

environ 8 ans il y a

A résolu


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

environ 8 ans il y a

A résolu


Please check if calorie intake is less than 300 kcal.
I like eating some puddings and some chocolate cookies around 3 o'clock. However, I care about calorie intake. Please check whe...

environ 8 ans il y a

A résolu


Read it !
read and return the following word. 'M M A TTTTTTTTTL A BBB ' 'MM MM A A T L ...

environ 8 ans il y a

A résolu


subtraction of two nos
given a and b, subtract and give the answer

environ 8 ans il y a

A résolu


Product of all elements in an array
Compute the product of all elements in an array.

environ 8 ans il y a

A résolu


Check for keywords
If the entered string is a MATLAB keyword, return true else false

environ 8 ans il y a

A résolu


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

environ 8 ans il y a

A résolu


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

environ 8 ans il y a

A résolu


Adding Numbers
Add the input numbers to the original.

environ 8 ans il y a

A résolu


Datetime basics
Generate the datetime scalar representing the current date

environ 8 ans il y a

A résolu


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

environ 8 ans il y a

A résolu


Perfect square.
Determine if the input is a perfect square or not. Example - If input is 25, return 1. If input is 17, return 0.

environ 8 ans il y a

A résolu


World Cup 2018 Prediction!
Which team will be the winner?

environ 8 ans il y a

A résolu


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

environ 8 ans il y a

A résolu


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

environ 8 ans il y a

A résolu


Find max
Find the maximum value of a given vector or matrix.

environ 8 ans il y a

A résolu


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

environ 8 ans il y a

A résolu


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

environ 8 ans il y a

A résolu


Return area of square
Side of square=input=a Area=output=b

environ 8 ans il y a

A résolu


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

environ 8 ans il y a

A résolu


Max of a Vector
Write a function to return the max of a vector

environ 8 ans il y a

A résolu


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

environ 8 ans il y a

A résolu


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

environ 8 ans il y a

A résolu


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

environ 8 ans il y a

Charger plus