A résolu


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

environ 2 ans il y a

A résolu


Reverse a matrix
Its simple. You have to reverse a given matrix.

environ 2 ans il y a

A résolu


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

environ 2 ans il y a

A résolu


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

environ 2 ans il y a

A résolu


Potential energy calculation

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 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 2 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 2 ans il y a

A résolu


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

environ 2 ans il y a

A résolu


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

environ 2 ans il y a

A résolu


How many apples
You have x apples I take from you y apples now how many apples you have ?

environ 2 ans il y a

A résolu


Your favourite city!
Type your favourite city.

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

environ 2 ans il y a

A résolu


Convert degrees to radians
Given input in degrees, output to radians

environ 2 ans il y a

A résolu


Degrees to Radian
Convert degrees to radians

environ 2 ans il y a

A résolu


Convert radians to degrees
Given input in radians, output to degrees

environ 2 ans il y a

A résolu


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

environ 2 ans il y a

A résolu


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

environ 2 ans il y a

A résolu


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

environ 2 ans il y a

A résolu


Box
Give the volume of a box, x is equal to the body diagonal.

environ 2 ans il y a

A résolu


Laws of motion 1

environ 2 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 2 ans il y a

A résolu


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

environ 2 ans il y a

A résolu


Find remainder when x is divided by 3
Find remainder when x is divided by 3

environ 2 ans il y a

A résolu


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

environ 2 ans il y a

A résolu


Identifying teenager
Suppose the age of a person is given. If he/she is a teenage, answer is 'yes'. Otherwise, the answer is 'no'.

environ 2 ans il y a

A résolu


factorial of a number x
Factorial of a number x

environ 2 ans il y a

A résolu


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

environ 2 ans il y a

Charger plus