Community Profile # Matthew Eicholtz

Last seen: 8달 전 2012 이후 활성

I love MATLAB.

#### Statistics

All
• • • • • • • • • • • • 배지보기

#### Content Feed

보기 기준

해결됨

Draw a '0' in a one matrix!

9달 전

해결됨

Converts numbers into characters
Converts numbers into characters

9달 전

해결됨

Find the max element of the array
Find the max element of the array

9달 전

해결됨

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

9달 전

해결됨

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

9달 전

해결됨

to the 2 all elements
to the 2 all elements

9달 전

해결됨

the average value of the elements
Calculate the average value of the elements in the array

9달 전

해결됨

Double all elements in the array
Duplicate all elements in the array

9달 전

해결됨

calculate the length of matrix
input 1 array, calculate the length

9달 전

해결됨

Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

1년 이상 전

해결됨

Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

'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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전

해결됨

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년 이상 전