How To Get The Index Of An Element In An Array In Matlab