Solved


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

6 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

6 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

6 years ago

Solved


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

6 years ago

Solved


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

6 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

6 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

6 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

6 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

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

6 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

6 years ago

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

6 years ago

Solved


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

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

6 years ago

Submitted


MATLAP
Electric powered RC cars simulation

6 years ago | 11 downloads |

Thumbnail

Submitted


DA GUI
Dijkstra's algorithm graphical user interface

6 years ago | 8 downloads |

Thumbnail

Submitted


BIN2MAT
Binary to MAT-file converter

6 years ago | 22 downloads |

Thumbnail

Answered
How to convert sinewave(any signal) into 8bit binary in Simulink?
Hello, Sorry for the delayed response. What about an "Embedded MATLAB function" block calling this kind of code (1 input, 8...

6 years ago | 0

Submitted


INI
INI file manager - initialization file reading and writing

6 years ago | 11 downloads |

Thumbnail

Submitted


Cumulative distribution function - Gausso-arithmetic scale
Empirical cumulative distribution function in gausso-arithmetic scale

7 years ago | 2 downloads |

Thumbnail

Submitted


Delta (GUI)
Uncertainty symbolic and numeric calculator (GUI version)

7 years ago | 1 download |

Thumbnail

Submitted


AVAR
Allan variance calculation GUI

7 years ago | 16 downloads |

Thumbnail

Submitted


Robotic mapping
Robotic mapping from video shots

7 years ago | 3 downloads |

Thumbnail

Submitted


PWN2PLY
Converter from PWN format to PLY format

7 years ago | 3 downloads |

Thumbnail

Submitted


Hierarchical clustering
Hierarchical clustering and dendrogram (WPGMA and UPGMA methods)

8 years ago | 14 downloads |

Thumbnail

Submitted


Random walk estimator
Estimation of gaussian random walk

8 years ago | 1 download |

Thumbnail

Submitted


RECDIR
Recursive "DIR" function

8 years ago | 1 download |

Thumbnail

Submitted


Availablity Monte-Carlo simulator
Availablity Monte-Carlo simulator for systems including multiples redundant units

8 years ago | 2 downloads |

Thumbnail

Submitted


Wien bridge oscillator
Wien bridge oscillator simulation through differential equation solving

8 years ago | 1 download |

Thumbnail

Submitted


Keypad press function
Shortcuts and menus to graphical utilities (scale, zoom, translation and initialization)

8 years ago | 1 download |

Thumbnail

Load more