Community Profile

John

MathWorks

Aktiv seit 2014

Statistiken

  • Curator
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

Gelöst


Times 3 problem
When you enter the number, it should return the number multiplied by 3

etwa 9 Jahre vor

Gelöst


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 vor

Gelöst


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

mehr als 9 Jahre vor