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

casi 10 años 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...

casi 10 años 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...

casi 10 años 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...

casi 10 años 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...

casi 10 años 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...

casi 10 años 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...

casi 10 años ago

Solved

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

casi 10 años 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:...

casi 10 años ago

Submitted

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

Solving system of Nonlinear Equations
You can try fsolve.

más de 10 años ago | 0

| accepted

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

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

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.

Submitted

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

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

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.

Submitted

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

Submitted

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

Submitted

Hypervolume Indicator
A tool to estimate the hypervolume indicator