Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


Laws of motion 1

quasi 3 anni fa

Risolto


Laws of motion 2

quasi 3 anni fa

Risolto


Total energy

quasi 3 anni fa

Risolto


Potential energy calculation

quasi 3 anni fa

Risolto


Kinetic energy calculation

quasi 3 anni fa

Risolto


Laws of motion 3

quasi 3 anni fa

Risolto


Laws of motion 4

quasi 3 anni fa

Risolto


Laws of motion 5

quasi 3 anni fa

Risolto


Laws of motion 6

quasi 3 anni fa

Risolto


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

quasi 3 anni fa

Risolto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

quasi 3 anni fa

Risolto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


Find the Pattern 2

quasi 3 anni fa

Risolto


Find the Pattern 1

quasi 3 anni fa

Risolto


Draw a '4' in a zero matrix!

quasi 3 anni fa

Risolto


Draw a '6' in a zero matrix!

quasi 3 anni fa

Risolto


Draw a '9' in a zero matrix!

quasi 3 anni fa

Risolto


Draw a '7' in a zero matrix!

quasi 3 anni fa

Risolto


Draw a '8' in a zero matrix!

quasi 3 anni fa

Risolto


Draw a '3' in a zero matrix!

quasi 3 anni fa

Risolto


Draw a '2' in a zero matrix!

quasi 3 anni fa

Risolto


Draw a '5' in a zero matrix!

quasi 3 anni fa

Risolto


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

quasi 3 anni fa

Risolto


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

quasi 3 anni fa

Risolto


Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...

quasi 3 anni fa

Carica altro