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

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

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

9 years ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

9 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

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

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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Submitted


Hungarian Algorithm for Linear Assignment Problems (V2.3)
An extremely fast implementation of the Hungarian algorithm on a native Matlab code.

9 years ago | 37 downloads |

Answered
Solving system of Nonlinear Equations
You can try fsolve.

9 years ago | 0

| accepted

Submitted


MPC Tutorial III: MPC in Simulink V2
A tutorial on using MPC in Simulink.

10 years ago | 7 downloads |

Thumbnail

Submitted


MPC Tutorial IV - State Space MPC with input increment
functions and simulink block implement state space MPC using input increment

10 years ago | 6 downloads |

Thumbnail

Submitted


MPC Tutorial II: Multivariable and State Space MPC V2.0
A tool and tutorial for multivariable state space MPC

10 years ago | 8 downloads |

Thumbnail

Submitted


Learning the Kalman Filter in Simulink v2.1
A Simulink model to learn the Kalman filter for Gassian processes.

10 years ago | 16 downloads |

Thumbnail

Submitted


Learning the Kalman Filter: A Feedback Perspective
A feedback view of Kalman filter to gain more useful insights.

10 years ago | 3 downloads |

Thumbnail

Submitted


Learning the Unscented Kalman Filter
An implementation of Unscented Kalman Filter for nonlinear state estimation.

10 years ago | 103 downloads |

Thumbnail

Submitted


Patch color selector
Selecting colors for a number of patches to avoid neighboring patches with the same color.

10 years ago | 4 downloads |

Thumbnail

Submitted


Efficient K-Nearest Neighbor Search using JIT
A small but efficient tool to perform KNN search

11 years ago | 6 downloads |

Thumbnail

Submitted


Probability Density Function (PDF) Estimator (V3.2)
An estimate of probability density function of the given random data with bounded support.

11 years ago | 8 downloads |

Thumbnail

Submitted


Bidirectional Branch and Bound for Average Loss Minimization
Two algorithms for selection of controlled variables using the average loss as the criterion.

11 years ago | 3 downloads |

Thumbnail

Submitted


Bidirectional Branch and Bound for Multiobjective Pairing Selection
A bidirectional branch and bound code to perform multiobjective input-output pairing selection.

11 years ago | 1 download |

Thumbnail

Submitted


Bidirectional Branch and Bound Solvers for Worst Case Loss Minimization
Two branch and bound solvers using worst case loss criterion to select controlled variables.

11 years ago | 2 downloads |

Thumbnail

Submitted


Multivariable Subspace Identification: MOESP
A tool for subspace identification using the MOESP algorithm.

11 years ago | 8 downloads |

Thumbnail

Submitted


Configurable Simulink Model for DC-DC Converters with PWM PI Control
A Simulink model configurable to buck, boost and buck-boost DC-DC converters with PWM PI control

12 years ago | 31 downloads |

Thumbnail

Submitted


Bidirectional Branch and Bound Minimum Singular Value Solver (V2)
A branch and bound solver to find the largest minimum singular values among all submatrices.

12 years ago | 1 download |

Thumbnail

Submitted


Kernel Smoothing Regression
A non-parametrical regression (smoothing) tool using Gaussian kernel.

12 years ago | 12 downloads |

Thumbnail

Submitted


Munkres Assignment Algorithm
An efficient implementation of the Munkres algorithm for the assignment problem.

12 years ago | 21 downloads |

Submitted


Hypervolume Indicator
A tool to estimate the hypervolume indicator

12 years ago | 12 downloads |

Thumbnail

Submitted


Local Linear Kernel Regression
A function to provide local linear estimator of Gaussian kernel regression

12 years ago | 13 downloads |

Thumbnail

Load more