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

oltre 10 anni 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...

oltre 10 anni 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...

oltre 10 anni 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...

oltre 10 anni 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...

oltre 10 anni 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...

oltre 10 anni 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...

oltre 10 anni ago

Solved

Determine if input is odd

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

oltre 10 anni 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:...

oltre 10 anni ago

Submitted

Hungarian Algorithm for Linear Assignment Problems (V2.3)

An extremely fast implementation of the Hungarian algorithm on a native Matlab code.

oltre 10 anni ago | 53 downloads |

Submitted

MPC Tutorial III: MPC in Simulink V2

A tutorial on using MPC in Simulink.

circa 11 anni ago | 12 downloads |

Submitted

MPC Tutorial IV - State Space MPC with input increment

functions and simulink block implement state space MPC using input increment

circa 11 anni ago | 8 downloads |

Submitted

MPC Tutorial II: Multivariable and State Space MPC V2.0

A tool and tutorial for multivariable state space MPC

circa 11 anni ago | 22 downloads |

Submitted

Learning the Kalman Filter in Simulink v2.1

A Simulink model to learn the Kalman filter for Gassian processes.

circa 11 anni ago | 6 downloads |

Submitted

Learning the Kalman Filter: A Feedback Perspective

A feedback view of Kalman filter to gain more useful insights.

oltre 11 anni ago | 3 downloads |

Submitted

Learning the Unscented Kalman Filter

An implementation of Unscented Kalman Filter for nonlinear state estimation.

oltre 11 anni ago | 85 downloads |

Submitted

Patch color selector

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

oltre 11 anni ago | 2 downloads |

Submitted

Efficient K-Nearest Neighbor Search using JIT

A small but efficient tool to perform KNN search

circa 12 anni ago | 4 downloads |

Submitted

Probability Density Function (PDF) Estimator (V3.2)

An estimate of probability density function of the given random data with bounded support.

circa 12 anni ago | 4 downloads |

Submitted

Bidirectional Branch and Bound for Average Loss Minimization

Two algorithms for selection of controlled variables using the average loss as the criterion.

circa 12 anni ago | 1 download |

Submitted

Bidirectional Branch and Bound for Multiobjective Pairing Selection

A bidirectional branch and bound code to perform multiobjective input-output pairing selection.

oltre 12 anni ago | 1 download |

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.

oltre 12 anni ago | 2 downloads |

Submitted

Multivariable Subspace Identification: MOESP

A tool for subspace identification using the MOESP algorithm.

oltre 12 anni ago | 13 downloads |

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

circa 13 anni ago | 23 downloads |

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.

oltre 13 anni ago | 2 downloads |

Submitted

Kernel Smoothing Regression

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

oltre 13 anni ago | 19 downloads |

Submitted

Munkres Assignment Algorithm

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

oltre 13 anni ago | 21 downloads |

Submitted

Hypervolume Indicator

A tool to estimate the hypervolume indicator

oltre 13 anni ago | 14 downloads |

Submitted

Local Linear Kernel Regression

A function to provide local linear estimator of Gaussian kernel regression

oltre 13 anni ago | 9 downloads |