image thumbnail

Finding an Optimal Path

versión 2.0.0.1 (1.06 MB) por Mary Fenelon
Solve the path planning problem of going through a vector field of wind in the least possible time using MATLAB and Optimization Toolbox.

5,1K descargas

Actualizada 9 Apr 2020

Ver licencia

This demo shows how to use MathWorks products to solve a path-planning problem.

The objective is to find the optimal path (path of least time) through a randomly generated vector field of wind values.

A Live Script shows how to set up both time-independent and time-dependent versions of the optimization problem.

An app created with App Designer shows an interactive way to do this analysis. The path may be defined by dragging control points with the mouse and the parameters (path distance and time) are updated on-the-fly.

Another Live Script shows how to use MATLAB Coder to generate C/C++ code for the optimization step and compares its run time to that of using MATLAB code.

The scripts and GUIDE app used in the “Finding Optimal Path Using Optimization Toolbox” video by Teja Muppirala are in the R2015b folder.

Citar como

Mary Fenelon (2022). Finding an Optimal Path (https://www.mathworks.com/matlabcentral/fileexchange/36321-finding-an-optimal-path), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2020a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

PathOptimizationDemo/R2020a

PathOptimizationDemo/R2020a/codeGeneration