Community Profile

# Nathan Varghese

Last seen: 3 mois il y a Actif depuis 2021

I am interested in Reinforcement learning, trajectory planning and control systems.

#### Content Feed

Afficher par

A résolu

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

10 mois il y a

A résolu

Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

10 mois il y a

A résolu

Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

10 mois il y a

A résolu

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

10 mois il y a

A résolu

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

10 mois il y a

A résolu

Is my wife right?
Regardless of input, output the string 'yes'.

10 mois il y a

A résolu

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

10 mois il y a

A résolu

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

10 mois il y a

A résolu

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

10 mois il y a

A résolu

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

environ un an il y a

A résolu

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

environ un an il y a

A résolu

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ un an il y a