Community Profile

photo

Andy Campbell

Last seen: 7 Tage ago Active since 2013

Statistics

All
  • First Review
  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

View badges

Content Feed

Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

fast 5 Jahre ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

mehr als 5 Jahre ago

Solved


Words Count: A String Array Approach
Given an input character vector consisting of words, punctuation marks, white spaces, and possibly newline characters (\n), arra...

mehr als 5 Jahre ago

Solved


Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

mehr als 5 Jahre ago

Solved


Test problem (times2)
This tests Cody's behavior when an assert is placed outside of a test cell

mehr als 8 Jahre ago

Problem


Test problem (times2)
This tests Cody's behavior when an assert is placed outside of a test cell

mehr als 8 Jahre ago | 0 | 2 solvers

Solved


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

mehr als 8 Jahre 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 ...

mehr als 8 Jahre 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...

fast 9 Jahre ago

Solved


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

mehr als 9 Jahre ago

Solved


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

mehr als 9 Jahre ago