Community Profile

# Moby Philip

21 total contributions since 2019

View details...

Contributions in
View by

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

3 months ago

Solved

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

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

3 months ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

3 months ago

Solved

Return area of square
Side of square=input=a Area=output=b

3 months ago

Solved

Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

3 months ago

Solved

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

3 months ago

Solved

Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

3 months ago

Solved

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

3 months ago

Solved

CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

3 months ago

Solved

Given a and b, return the sum a+b in c.

3 months ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 months ago

Solved

Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

3 months ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 months ago

Generating random number.
Hello Walter and Bjorn thanks for your reply,really appreciate that. I really understood how to approach it with the help of Bjo...

9 months ago | 0

Question

Generating random number.
Hello, I have 2 questions to ask: I need to generate 5 gaussian distribution data having specified stabndard deviation and par...

9 months ago | 3 answers | 0