**Statistics**

RANK**214**

of 247,177

REPUTATION**356**

CONTRIBUTIONS

**18** Questions

**112** Answers

ANSWER ACCEPTANCE **
55.56%
**

VOTES RECEIVED**88**

RANK**2,959** of 17,236

REPUTATION**489**

AVERAGE RATING**5.00**

CONTRIBUTIONS**14** Files

DOWNLOADS **42**

ALL TIME DOWNLOADS**3747**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Calculate a Damped Sinusoid

The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

9 months ago

Solved

Solve a System of Linear Equations

*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

9 months ago

Solved

Verify Law of Large Numbers

If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

9 months ago

Solved

Find the Oldest Person in a Room

Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

9 months ago

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

9 months ago

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

9 months ago

Solved

Friday or not

I love Friday. Please tell me whether the day is Friday. Dateformat is 'yyyy-mm-dd' or 'dd-mmm-yyyy' or 'mm/dd/yyyy'. Exa...

4 years ago

Solved

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 years ago

Solved

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 years ago

Solved

Separate even from odd numbers in a vector - with a loop

*Using a loop*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the end. T...

4 years ago

Solved

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 years ago

Solved

Shuffle

Shuffle a vector by breaking it up to segments of |n| elements, and rearranging them in a reversed order. For example, the ve...

4 years ago

Solved

Vector push

Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...

4 years ago

Solved

Vector pop

Take |n| elements from the end of the vector |v| and return both the shorten vector |v| and the |n| elements in a separate vecto...

4 years ago

Solved

'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 years ago

Solved

vector indexes for a matrix

Matlab allows us to use several indexing styles making code simpler and easier to read than using loops. Vectors can have ve...

4 years ago

Solved

Please check the last row

We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

4 years ago

Solved

Find the starting index of a consecutive condition

Given a logical vector |v|, and a positive integer |n|, return the smallest index |i| that satisfies: all( v(i : i+n-1) ) =...

4 years ago

Solved

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

4 years ago

Solved

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

4 years ago

Solved

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 years ago

Solved

二乗になっている数を見つけましょう。

ある数のベクトルが与えられた場合、そのベクトルの要素の一つが他の要素の二乗であれば true を返し、それ以外の場合は false を返すようなコードを書いてみましょう。 例: 入力が a = [2 3 4] のとき、 出力 b は t...

4 years ago

Solved

ベクトルの値が増加しているかを調べましょう

ベクトルの値が増加している場合 (ベクトルの各要素が前の要素よりも大きい場合) には true を、そうでない場合には false を返すようなコードを書いてみましょう。 例: 入力が x = [-3 0 7] のとき、 関数の...

4 years ago

Solved

Determine whether the input is odd, even, or neither.

Make a function that returns ‘odd’ if the input is odd, ‘even’ if the input if even or ‘error’ if the input is neither odd nor ...

4 years ago

Solved

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 years ago

Solved

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 years ago

Solved

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

4 years ago

Solved

Acid and water

⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ Assume that there is a 100 liter tank. It is initially fi...

4 years ago

Solved

"Cody" * 5 == "CodyCodyCodyCodyCody"

*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me! *Bob*: No, I am serious! Python supports...

4 years ago