Solved


Will there be a new leader?
Simply answer the title.

7 years ago

Solved


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

7 years ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

7 years ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

7 years ago

Solved


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

7 years ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

7 years ago

Solved


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

7 years ago

Solved


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

7 years ago

Solved


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

7 years ago

Solved


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

7 years ago

Solved


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

7 years ago

Solved


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

7 years ago

Solved


Area of a circle
Find the value for area of the circle if diameter is given

7 years ago

Solved


only input
Return the output without writing any code into the function.

7 years ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

7 years ago

Solved


Write a code to give student grade
Write a code to give student ' pass' grade if he/she gets more than 49 in the exam, and 'fail' grade otherwise. ''Many of lif...

7 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

7 years ago

Solved


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

7 years ago

Solved


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

7 years ago

Solved


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

7 years ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

7 years ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

7 years ago

Solved


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

7 years ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

7 years ago

Solved


Isothermal Expansion
Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

7 years ago

Solved


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

7 years ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

7 years ago

Solved


Calculate volume of box
Calculate the volume of box,hiven its sides

7 years ago

Solved


Box!
Given a box, find the volume of the cube. With each side = a.

7 years ago

Load more