Gelöst


Insect population
An insect population doubles every generation. * Write a while loop that iterates numGeneration times. * Write a statment ...

fast 11 Jahre vor

Gelöst


Number of pennies
Complete the function ConvertToPennies() so that the function returns the total number of pennies given a number of dollars and ...

fast 11 Jahre vor

Gelöst


Travel speed
Write an anonymous function to compute the Euclidean distance given two points (x1, y1) and (x2, y2). Use the following equation...

fast 11 Jahre vor

Gelöst


Finding values in arrays
Assign numMatches with the number of elements in userValues that equal matchValue. Ex: If matchValue = 2 and userVals = [2, ...

fast 11 Jahre vor

Gelöst


Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

fast 11 Jahre vor

Gelöst


Make visible max values
Make visible maximum values of rows input = [1 2 3 4 5; 6 9 8 2 1; 2 1 4 5 8; 1 9 7 9 2]; ...

fast 11 Jahre vor

Gesendet


approxeq(x, y, tolerance)
Test for 'nearly equal'

fast 11 Jahre vor | 86 Downloads |

0.0 / 5

Gesendet


rollstat( y, window, slide,funin)
Apply function to rolling window. Non-uniform sample spacings allowed

etwa 11 Jahre vor | 95 Downloads |

0.0 / 5

Gesendet


newname(oldname)
One-liner function to rename an object

etwa 11 Jahre vor | 93 Downloads |

0.0 / 5