Solved

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

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

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

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

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

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

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

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

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

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

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

4 years ago

Submitted

MATLAP
Electric powered RC cars simulation

Submitted

DA GUI
Dijkstra's algorithm graphical user interface

Submitted

BIN2MAT
Binary to MAT-file converter

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

5 years ago | 0

Submitted

INI
INI file manager - initialization file reading and writing

Submitted

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

Submitted

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

Submitted

AVAR
Allan variance calculation GUI

Submitted

Robotic mapping
Robotic mapping from video shots

Submitted

PWN2PLY
Converter from PWN format to PLY format

Submitted

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

Submitted

Random walk estimator
Estimation of gaussian random walk

Submitted

RECDIR
Recursive "DIR" function

Submitted

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

Submitted

Wien bridge oscillator
Wien bridge oscillator simulation through differential equation solving

Submitted

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

Submitted

Dichotomy method
Dichotomy method for function inversion

Submitted

Monte-Carlo Simulator
Monte-Carlo simulator for statistical process simulation