min-non-negative

Version 1.0.0 (1.37 KB) by Heictor C.
An alternative method for finding the min non-negative element in a matrix
0 Downloads
Updated 29 Apr 2024

min-non-negative

An alternative method for finding the min non-negative element in a matrix.

This function was created, as motivational reason, for the analysis of populational biosinspired optimization algorithm, where is important to automatically selects the element with minimun value from a matrix. However, for constraining reasons, it is important to avoid non-negative values. Despiste its orginal motivation, this function was built for multi-purpose applications.

The function input is a M matrix, which all the non-negative elements are changed to "nan"(Not a Number) values, then the default "min" function runs on the "non-negativeM" matrix.

Cite As

Heictor C. (2025). min-non-negative (https://github.com/Heictor/min-non-negative), GitHub. Retrieved .

Costa, Heictor Alves de Oliveira. Min-Non-Negative. MathWorks, 2024, doi:10.5281/ZENODO.11087370.

View more styles
MATLAB Release Compatibility
Created with R2024a
Compatible with R2014a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.