Skip to content

mtx_find

mtx_find finds the indices of nonzero elements in an input matrix and outputs them as a matrix, or an empty matrix when none exist. It can be combined with logical conditions and mtx_index; row or column modes can be used to locate first or last nonzero elements in those directions.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for iemmatrix and install it. Then create an object with declare -lib iemmatrix -path iemmatrix. Finally, use mtx_find or any other object from iemmatrix.


Similar


    Comments

    Contributors