Community Profile

# Huy Cuong Nguyen

##### Last seen: 3일 전
127 2021 이후 총 참여 횟수

#### Huy Cuong Nguyen's 배지

세부 정보 보기...

참여 게시물
보기 기준

해결됨

Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

3일 전

해결됨

Given input in radians, output to degrees

3일 전

해결됨

Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

3일 전

해결됨

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

3일 전

해결됨

You just measured its surface area, that is the input.

3일 전

해결됨

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

3일 전

해결됨

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

3일 전

해결됨

Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: \$99,999.99. E...

3일 전

해결됨

Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

6일 전

해결됨

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

6일 전

해결됨

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

6일 전

해결됨

Draw a '4' in a zero matrix!

6일 전

해결됨

Draw a '6' in a zero matrix!

6일 전

해결됨

Draw a '9' in a zero matrix!

6일 전

해결됨

Draw a '7' in a zero matrix!

6일 전

해결됨

Draw a '8' in a zero matrix!

6일 전

해결됨

Draw a '3' in a zero matrix!

6일 전

해결됨

Draw a '2' in a zero matrix!

6일 전

해결됨

Draw a '5' in a zero matrix!

6일 전

해결됨

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

6일 전

해결됨

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

10일 전

해결됨

Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

10일 전

해결됨

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

10일 전

해결됨

Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

11일 전

해결됨

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

11일 전

해결됨

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

11일 전

해결됨

Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

11일 전

해결됨

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

12일 전

해결됨

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

12일 전

해결됨

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

12일 전