Last active
May 26, 2019 18:08
-
-
Save soypat/44004ecdb88317970406c7cfaf82e544 to your computer and use it in GitHub Desktop.
Min/Max index finder for matrix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Find minimum amplitud | |
mini=min(min(M)); | |
index=find(M==mini); | |
i = ceil(index/Nb); | |
index=find(M'==mini); | |
j = ceil(index/Nh); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment