
find - Find indices and values of nonzero elements - MATLAB
This MATLAB function returns a vector containing the linear indices of each nonzero element in array X.
Find Array Elements That Meet Conditions - MATLAB & Simulink
Find Array Elements That Meet Conditions This example shows how to filter the elements of an array by applying conditions to the array. For instance, you can examine the even elements in a matrix, find …
strfind - Find strings within other strings - MATLAB - MathWorks
This MATLAB function searches str for occurrences of pat.
How can I find index of element in array? - MATLAB Answers
Aug 4, 2024 · To find the index of a specific integer value (without roundoff error) in an array of integers, use the "find" function and == operator. For example, find the index of an element equal to 5 in a 1 …
function - Declare function name, inputs, and outputs - MATLAB
This MATLAB function declares a function named myfun that accepts inputs x1,...,xM and returns outputs y1,...,yN.
Find index with multiple condition, using find function - MATLAB ...
Sep 21, 2016 · Find index with multiple condition, using find... Learn more about multiple vector comparison, find function, & condition with multiple size, large files
mean - Average or mean value of array - MATLAB - MathWorks
This MATLAB function returns the mean of the elements of A along the first array dimension whose size does not equal 1.
and - Find logical AND - MATLAB - MathWorks
This MATLAB function performs a logical AND of inputs A and B and returns an array or a table containing elements set to either logical 1 (true) or logical 0 (false).
which - Locate functions and files - MATLAB - MathWorks
If item is a MATLAB ® function in a MATLAB code file (.m,.mlx, or .p extension), or a saved Simulink ® model (.slx or .mdl extension), then which displays the full path for the corresponding file. item must …
diff - Differences and approximate derivatives - MATLAB
Aug 9, 2025 · This MATLAB function calculates differences between adjacent elements of X.