Community Profile

photo

Kevin Hartman


Last seen: mer än 2 år ago Active since 2017

Followers: 0   Following: 0

Statistics

All
  • Solver

View badges

Feeds

View by

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

nästan 4 år ago

Solved


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

nästan 4 år ago

Solved


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

nästan 4 år 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 ...

nästan 4 år ago

Question


How do I generate a string during a loop
I'm looking to generate a string, such as 'grape', when a certain value, say, 0.5, is encountered during a loop. How do I do th...

mer än 6 år ago | 0 answers | 0

0

answers