解決済み


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

7年以上 前

解決済み


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年以上 前

解決済み


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

7年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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年以上 前

解決済み


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

7年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

7年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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年以上 前

解決済み


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

7年以上 前

解決済み


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年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

さらに読み込む