{"id":218734,"date":"2023-12-03T10:34:56","date_gmt":"2023-12-03T10:34:56","guid":{"rendered":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/"},"modified":"2023-12-03T10:34:56","modified_gmt":"2023-12-03T10:34:56","slug":"how-to-find-the-indices-of-the-max-value-in-matlab","status":"publish","type":"post","link":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/","title":{"rendered":"How to find the indices of the max value in MATLAB?"},"content":{"rendered":"<p>If you are working with MATLAB and need to determine the indices at which the maximum value occurs in an array or matrix, then you have come to the right place. In this article, we will guide you through the steps to finding the indices of the max value in MATLAB, along with some related FAQs to provide you with a comprehensive understanding of the topic. Let&#8217;s dive in!<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_62 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#How_to_Find_the_Indices_of_the_Max_Value\" title=\"How to Find the Indices of the Max Value?\">How to Find the Indices of the Max Value?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#Related_or_Similar_FAQs\" title=\"Related or Similar FAQs:\">Related or Similar FAQs:<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#1_How_to_find_the_indices_of_the_minimum_value_in_MATLAB\" title=\"1. How to find the indices of the minimum value in MATLAB?\">1. How to find the indices of the minimum value in MATLAB?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#2_How_to_find_the_indices_of_the_maximum_value_in_a_specific_dimension_of_a_matrix\" title=\"2. How to find the indices of the maximum value in a specific dimension of a matrix?\">2. How to find the indices of the maximum value in a specific dimension of a matrix?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#3_What_if_there_are_multiple_maximum_values_in_the_array_or_matrix\" title=\"3. What if there are multiple maximum values in the array or matrix?\">3. What if there are multiple maximum values in the array or matrix?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#4_Can_the_same_approach_be_used_for_cell_arrays\" title=\"4. Can the same approach be used for cell arrays?\">4. Can the same approach be used for cell arrays?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#5_Is_it_possible_to_find_the_indices_of_the_maximum_value_for_each_column_or_row_of_a_matrix\" title=\"5. Is it possible to find the indices of the maximum value for each column or row of a matrix?\">5. Is it possible to find the indices of the maximum value for each column or row of a matrix?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#6_How_to_find_the_global_maximum_value_in_a_matrix\" title=\"6. How to find the global maximum value in a matrix?\">6. How to find the global maximum value in a matrix?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#7_What_if_a_matrix_has_NaN_Not-a-Number_values\" title=\"7. What if a matrix has NaN (Not-a-Number) values?\">7. What if a matrix has NaN (Not-a-Number) values?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#8_Is_it_possible_to_find_the_maximum_value_excluding_certain_elements\" title=\"8. Is it possible to find the maximum value excluding certain elements?\">8. Is it possible to find the maximum value excluding certain elements?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#9_Can_I_use_the_max_and_find_functions_for_multidimensional_arrays\" title=\"9. Can I use the `max` and `find` functions for multidimensional arrays?\">9. Can I use the `max` and `find` functions for multidimensional arrays?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#10_How_to_find_the_maximum_value_and_its_index_in_a_single_function_call\" title=\"10. How to find the maximum value and its index in a single function call?\">10. How to find the maximum value and its index in a single function call?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#11_What_if_the_array_or_matrix_is_empty\" title=\"11. What if the array or matrix is empty?\">11. What if the array or matrix is empty?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#12_Are_there_any_alternatives_to_using_the_find_function\" title=\"12. Are there any alternatives to using the `find` function?\">12. Are there any alternatives to using the `find` function?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Find_the_Indices_of_the_Max_Value\"><\/span>How to Find the Indices of the Max Value?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To find the indices of the maximum value in MATLAB, you can use the built-in functions `max` and `find`. Here&#8217;s a step-by-step process to accomplish this:<\/p>\n<p>**Step 1**: Create or define your array or matrix.<\/p>\n<p>**Step 2**: Use the `max` function along with the appropriate syntax to find the maximum value in the array or matrix.<\/p>\n<p>**Step 3**: Use the `find` function to obtain the indices of the max value.<\/p>\n<p>Let&#8217;s illustrate this with an example:<\/p>\n<p>&#8220;`matlab<br \/>\n% Step 1<br \/>\nA = [4, 2, 6, 1, 5, 3];<\/p>\n<p>% Step 2<br \/>\nmax_value = max(A);<\/p>\n<p>% Step 3<br \/>\nindices = find(A == max_value);<br \/>\n&#8220;`<\/p>\n<p>In this example, we have an array `A` with six elements. Following the steps mentioned above, we find that the maximum value in array `A` is 6. Using the `find` function, we obtain the indices of the max value, which in this case, is 3.<\/p>\n<p>So, by combining the `max` and `find` functions, you can easily discover the indices at which the maximum value occurs in MATLAB arrays or matrices.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Related_or_Similar_FAQs\"><\/span>Related or Similar FAQs:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1_How_to_find_the_indices_of_the_minimum_value_in_MATLAB\"><\/span>1. How to find the indices of the minimum value in MATLAB?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nTo find the indices of the minimum value, you can follow a similar approach using the `min` function along with the `find` function.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_How_to_find_the_indices_of_the_maximum_value_in_a_specific_dimension_of_a_matrix\"><\/span>2. How to find the indices of the maximum value in a specific dimension of a matrix?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nBy specifying the dimension argument in the `max` and `find` functions, you can find the indices of the maximum value along a specific dimension in a matrix.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_What_if_there_are_multiple_maximum_values_in_the_array_or_matrix\"><\/span>3. What if there are multiple maximum values in the array or matrix?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nThe `find` function returns all the indices at which the maximum value occurs, including duplicate entries if present.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Can_the_same_approach_be_used_for_cell_arrays\"><\/span>4. Can the same approach be used for cell arrays?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYes, the approach remains the same. You can use the `max` and `find` functions to find the indices of the maximum value in cell arrays as well.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"5_Is_it_possible_to_find_the_indices_of_the_maximum_value_for_each_column_or_row_of_a_matrix\"><\/span>5. Is it possible to find the indices of the maximum value for each column or row of a matrix?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYes, you can use iterations or vectorized operations to find the maximum value for each column or row. Once you have the maximum values, you can then obtain their respective indices using the `find` function.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"6_How_to_find_the_global_maximum_value_in_a_matrix\"><\/span>6. How to find the global maximum value in a matrix?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nBy omitting the dimension argument in the `max` function, you can find the global maximum value in a matrix. Then, use the `find` function to determine its indices.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"7_What_if_a_matrix_has_NaN_Not-a-Number_values\"><\/span>7. What if a matrix has NaN (Not-a-Number) values?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nThe presence of NaN values may affect the result when using the `max` function. However, you can use the `nanmax` function instead to ignore NaN values and find the maximum value.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"8_Is_it_possible_to_find_the_maximum_value_excluding_certain_elements\"><\/span>8. Is it possible to find the maximum value excluding certain elements?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYes, you can use logical indexing to exclude specific elements from consideration when finding the maximum value, and then use the `find` function to determine their indices.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"9_Can_I_use_the_max_and_find_functions_for_multidimensional_arrays\"><\/span>9. Can I use the `max` and `find` functions for multidimensional arrays?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYes, the `max` and `find` functions work for multidimensional arrays as well. Simply specify the appropriate dimension argument to find the indices along a specific dimension.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"10_How_to_find_the_maximum_value_and_its_index_in_a_single_function_call\"><\/span>10. How to find the maximum value and its index in a single function call?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYou can directly use the `max` function with two output arguments. The first output argument will be the maximum value, and the second will be its index.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"11_What_if_the_array_or_matrix_is_empty\"><\/span>11. What if the array or matrix is empty?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nIn such cases, the `max` function will return an empty array for the maximum value, and the `find` function will not find any indices.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"12_Are_there_any_alternatives_to_using_the_find_function\"><\/span>12. Are there any alternatives to using the `find` function?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\nYes, you can accomplish the same task using logical indexing or the `ind2sub` function to determine the indices of the maximum value.<\/p>\n<p>In conclusion, finding the indices of the maximum value in MATLAB is a straightforward task by utilizing the `max` and `find` functions. Apply the steps provided in this article, and you will be able to efficiently determine the indices of the maximum value in your MATLAB arrays or matrices.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are working with MATLAB and need to determine the indices at which the maximum value occurs in an array or matrix, then you have come to the right place. In this article, we will guide you through the steps to finding the indices of the max value in MATLAB, along with some related &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to find the indices of the max value in MATLAB?\" class=\"read-more button\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#more-218734\">Read more<span class=\"screen-reader-text\">How to find the indices of the max value in MATLAB?<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":107420,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86279],"tags":[],"class_list":["post-218734","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn","no-featured-image-padding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to find the indices of the max value in MATLAB?<\/title>\n<meta name=\"description\" content=\"If you are working with MATLAB and need to determine the indices at which the maximum value occurs in an array or matrix, then you have come to the right\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to find the indices of the max value in MATLAB?\" \/>\n<meta property=\"og:description\" content=\"If you are working with MATLAB and need to determine the indices at which the maximum value occurs in an array or matrix, then you have come to the right\" \/>\n<meta property=\"og:url\" content=\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/\" \/>\n<meta property=\"og:site_name\" content=\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/synchronyfinancial\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-03T10:34:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"164\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Darla Clarke\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@synchrony\" \/>\n<meta name=\"twitter:site\" content=\"@synchrony\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Darla Clarke\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/\"},\"author\":{\"name\":\"Darla Clarke\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/8fb46297981687fe77339d265491391e\"},\"headline\":\"How to find the indices of the max value in MATLAB?\",\"datePublished\":\"2023-12-03T10:34:56+00:00\",\"dateModified\":\"2023-12-03T10:34:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/\"},\"wordCount\":751,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\"},\"articleSection\":[\"Learn\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/\",\"url\":\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/\",\"name\":\"How to find the indices of the max value in MATLAB?\",\"isPartOf\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#website\"},\"datePublished\":\"2023-12-03T10:34:56+00:00\",\"dateModified\":\"2023-12-03T10:34:56+00:00\",\"description\":\"If you are working with MATLAB and need to determine the indices at which the maximum value occurs in an array or matrix, then you have come to the right\",\"breadcrumb\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/namso-gen.co\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to find the indices of the max value in MATLAB?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#website\",\"url\":\"https:\/\/namso-gen.co\/blog\/\",\"name\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\",\"description\":\"In Namso gen blog you can get many tips regarding to Credit cards, VCC, Credit card security etc. You can generate credit cards by using Namso-gen.co\",\"publisher\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/namso-gen.co\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#organization\",\"name\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\",\"url\":\"https:\/\/namso-gen.co\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png\",\"contentUrl\":\"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png\",\"width\":500,\"height\":164,\"caption\":\"Namso Gen Blog - Free Credit Card Generator [100% Valid]\"},\"image\":{\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/synchronyfinancial\",\"https:\/\/twitter.com\/synchrony\",\"https:\/\/www.youtube.com\/synchronyfinancial\",\"https:\/\/www.instagram.com\/synchrony\",\"https:\/\/www.linkedin.com\/company\/synchrony-financial\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/8fb46297981687fe77339d265491391e\",\"name\":\"Darla Clarke\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Darla Clarke\"},\"description\":\"Guest author Darla Clarke has meticulously crafted and revised this article to the best of their knowledge and understanding. Readers are strongly advised to exercise caution, verify information independently, and rely on their own judgment when considering the information provided. Read more articles on Namso Gen here.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to find the indices of the max value in MATLAB?","description":"If you are working with MATLAB and need to determine the indices at which the maximum value occurs in an array or matrix, then you have come to the right","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/","og_locale":"en_US","og_type":"article","og_title":"How to find the indices of the max value in MATLAB?","og_description":"If you are working with MATLAB and need to determine the indices at which the maximum value occurs in an array or matrix, then you have come to the right","og_url":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/","og_site_name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","article_publisher":"https:\/\/www.facebook.com\/synchronyfinancial","article_published_time":"2023-12-03T10:34:56+00:00","og_image":[{"width":500,"height":164,"url":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png","type":"image\/png"}],"author":"Darla Clarke","twitter_card":"summary_large_image","twitter_creator":"@synchrony","twitter_site":"@synchrony","twitter_misc":{"Written by":"Darla Clarke","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#article","isPartOf":{"@id":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/"},"author":{"name":"Darla Clarke","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/8fb46297981687fe77339d265491391e"},"headline":"How to find the indices of the max value in MATLAB?","datePublished":"2023-12-03T10:34:56+00:00","dateModified":"2023-12-03T10:34:56+00:00","mainEntityOfPage":{"@id":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/"},"wordCount":751,"commentCount":0,"publisher":{"@id":"https:\/\/namso-gen.co\/blog\/#organization"},"articleSection":["Learn"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/","url":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/","name":"How to find the indices of the max value in MATLAB?","isPartOf":{"@id":"https:\/\/namso-gen.co\/blog\/#website"},"datePublished":"2023-12-03T10:34:56+00:00","dateModified":"2023-12-03T10:34:56+00:00","description":"If you are working with MATLAB and need to determine the indices at which the maximum value occurs in an array or matrix, then you have come to the right","breadcrumb":{"@id":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/namso-gen.co\/blog\/how-to-find-the-indices-of-the-max-value-in-matlab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/namso-gen.co\/blog\/"},{"@type":"ListItem","position":2,"name":"How to find the indices of the max value in MATLAB?"}]},{"@type":"WebSite","@id":"https:\/\/namso-gen.co\/blog\/#website","url":"https:\/\/namso-gen.co\/blog\/","name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","description":"In Namso gen blog you can get many tips regarding to Credit cards, VCC, Credit card security etc. You can generate credit cards by using Namso-gen.co","publisher":{"@id":"https:\/\/namso-gen.co\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/namso-gen.co\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/namso-gen.co\/blog\/#organization","name":"Namso Gen Blog - Free Credit Card Generator [100% Valid]","url":"https:\/\/namso-gen.co\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png","contentUrl":"https:\/\/namso-gen.co\/blog\/wp-content\/uploads\/2020\/07\/namso-gen-logo.png","width":500,"height":164,"caption":"Namso Gen Blog - Free Credit Card Generator [100% Valid]"},"image":{"@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/synchronyfinancial","https:\/\/twitter.com\/synchrony","https:\/\/www.youtube.com\/synchronyfinancial","https:\/\/www.instagram.com\/synchrony","https:\/\/www.linkedin.com\/company\/synchrony-financial"]},{"@type":"Person","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/8fb46297981687fe77339d265491391e","name":"Darla Clarke","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/namso-gen.co\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Darla Clarke"},"description":"Guest author Darla Clarke has meticulously crafted and revised this article to the best of their knowledge and understanding. Readers are strongly advised to exercise caution, verify information independently, and rely on their own judgment when considering the information provided. Read more articles on Namso Gen here."}]}},"_links":{"self":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts\/218734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/comments?post=218734"}],"version-history":[{"count":0,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/posts\/218734\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/media\/107420"}],"wp:attachment":[{"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/media?parent=218734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/categories?post=218734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/namso-gen.co\/blog\/wp-json\/wp\/v2\/tags?post=218734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}