# Antonio Mele

Attivo dal 2015

Followers: 0   Following: 0

All

#### Feeds

Visto da

Domanda

assessFunctionPresence use in Matlab Grader for checking one out of n functions are present
I am setting up a test in Matlab Grader to check that students use a for or a while loop in an exercise. They can only use one o...

oltre 5 anni fa | 1 risposta | 0

### 1

risposta

Risolto

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

oltre 5 anni fa

Risolto

Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

oltre 5 anni fa

Risolto

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

oltre 5 anni fa

Domanda

Can Cody Coursework be used for paid online courses?
I am wondering if one can use Cody Coursework to create a paid online course. Is this something that is allowed? or it can be us...

oltre 6 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Student sees a very strange and usual interface
A student sent me this image from what he/she sees in Cody Coursework. It's only this student, and only this assignment. There i...

oltre 6 anni fa | 1 risposta | 0

### 1

risposta

Risolto

"Cody" * 5 == "CodyCodyCodyCodyCody"
*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me! *Bob*: No, I am serious! Python supports...

oltre 6 anni fa

Risolto

The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

oltre 6 anni fa

Risolto

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

oltre 7 anni fa

Risolto

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

oltre 7 anni fa

Risolto

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

oltre 7 anni fa

Risolto

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

oltre 8 anni fa

Risolto

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

oltre 8 anni fa

Risolto

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

oltre 8 anni fa

Risolto

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

oltre 8 anni fa