Community Profile

# Noah Sung

### MathWorks

167 total contributions since 2020

View details...

Contributions in
View by

Solved

length of a vector
Find twice the length of a given vector.

environ 2 mois ago

Solved

Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

environ 2 mois ago

Solved

Equal to their cube
Tell me three real numbers that are equal to their cubes?

environ 2 mois ago

Solved

Is My Wife Wrong?

environ 2 mois ago

Solved

reverse string
input='rama' output='amar'

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

environ 2 mois ago

Solved

Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.

environ 2 mois ago

Solved

Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

environ 2 mois ago

Solved

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

environ 2 mois ago

Solved

Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

environ 2 mois ago

Solved

Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

environ 2 mois ago

Solved

Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

environ 2 mois ago

Solved

Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

environ 2 mois ago

Solved

Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

environ 2 mois ago

Solved

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

environ 2 mois ago

Solved

Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

environ 2 mois ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

environ 2 mois ago

Solved

Concatenate two strings
Its very easy. Just concatenate two strings.

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

environ 2 mois ago

Solved

Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

environ 2 mois ago

Solved

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

environ 2 mois ago

Solved