Community Profile

photo

Paul McKechnie


Last seen: alrededor de 1 año hace Con actividad desde 2017

Programming Languages:
C++, C, MATLAB, VHDL
Spoken Languages:
English, Russian

Estadísticas

All
  • Solver

Ver insignias

Content Feed

Ver por

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Resuelto


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

alrededor de 6 años hace

Pregunta


How can I set the testsuite name attribute in the XML file generated by XMLPlugin.producingJUnitFormat?
I am creating a set of unit tests for some code that I am developing. I have been using the Matlab unit test plugins to good eff...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Resuelto


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

más de 6 años hace

Resuelto


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

más de 6 años hace

Resuelto


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

más de 6 años hace

Resuelto


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

más de 6 años hace

Resuelto


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

más de 6 años hace

Resuelto


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


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

más de 6 años hace