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.

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

6 Monate ago

Solved

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

6 Monate ago

Solved

Is My Wife Wrong?

6 Monate ago

Solved

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

6 Monate ago

Solved

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

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

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

6 Monate ago

Solved

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

6 Monate ago

Solved

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

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

6 Monate ago

Solved

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

6 Monate 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).

6 Monate ago

Solved

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

6 Monate ago

Solved

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

6 Monate ago

Solved

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

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

6 Monate ago

Solved

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

6 Monate ago

Solved

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

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

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

6 Monate ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

6 Monate ago

Solved

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

6 Monate ago

Solved

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

6 Monate ago

Solved

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

6 Monate ago

Solved

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

6 Monate ago

Solved

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

6 Monate 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];

6 Monate ago

Solved