Community Profile

photo

Sam Cook


Last seen: 10 días ago

MathWorks

5 total contributions since 2019

Sam Cook's Badges

  • Solver

View details...

Contributions in
View by

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

9 meses ago

Solved


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

9 meses ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

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

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

9 meses ago