해결됨

For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

4년 이하 전

해결됨

Sum of adjacent elements in a vector
Given a vector v, return a vector s containting the sum of every two adjacent elements in the vector. Every element s(i) cont...

4년 이하 전

해결됨

Horizontal matrix sort
Given a matrix x with n rows and m columns, return a matrix y with n rows and 2m columns, such that every row in x is sorted fro...

4년 이하 전

해결됨

Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

4년 이하 전

해결됨

Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

4년 이하 전

해결됨

Remove the air bubbles from a vector
_*A reduced version of Problem 112*_ Given a column vector v, return a vector w in which all the zeros have "bubbled" to the ...

4년 이하 전

해결됨

The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...

4년 이하 전

해결됨

Separate even from odd numbers in a vector - without loops
*Without using loops*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the...

4년 이하 전

해결됨

'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

4년 이하 전

해결됨

Calculate the CIRCUMFERENCE of circle.
Given the radius is 2, the circumference will be 12.5663.

4년 이하 전

해결됨

Temperature question
get the temperature...in celcius

4년 이하 전

해결됨

Exponential decay
Many dynamic processes can be approximated as an exponential decay. This applies to radioactive decay, some chemical reactions, ...

4년 이하 전

해결됨

Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

4년 이하 전

해결됨

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

4년 이하 전

해결됨

Divisible by 15
Write a function to determine if a number is divisible by 15. If a number is <http://www.mathworks.com/matlabcentral/cody/proble...

4년 이하 전

해결됨

Divisible by 6
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4년 이하 전

해결됨

Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

4년 이하 전

해결됨

Take two incoming vectors and output the sum of the two vectors

4년 이하 전

해결됨

Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

4년 이하 전

해결됨

Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

4년 이하 전

해결됨

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

4년 이하 전

해결됨

Sum two matrices
Take two incoming matrices, and sum them

4년 이하 전

해결됨

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 ...

4년 이하 전

해결됨

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

4년 이하 전

해결됨

Tax Calculator
Calculate the tax for a given income. 10% tax is paid for any income up to \$2,000. 20% tax is paid for additional income u...

4년 이하 전

해결됨

Find the largest number
Given a vector v with 4 elements, find the largest number x. Example: Input: v = [4 7 1 6]; Output: x = 7; You mu...

4년 이하 전

해결됨

free points
function y = your_fcn_name(x) y = x(1)+x(2); end

4년 이하 전

해결됨

what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

4년 이하 전

해결됨

Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

4년 이하 전

해결됨

Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

4년 이하 전