Problem 44325. Matrix Max Finder
74.83% Correct | 25.17% Incorrect
Last Solution submitted on Mar 12, 2023
jaafar al sinayyid on 5 Oct 2017
my first experiment
David Verrelli on 6 Oct 2017
Congratulations on solving this problem. For future endeavours you might consider the following: (1) many common calculations already have dedicated functions available to compute them in MATLAB; (2) for generality you might have to initialise y=-Inf, not y=0; (3) for generality you might have to iterate over 1:size(x,#), not 1:2.
Problem Recent Solvers104
Make the vector [1 2 3 4 5 6 7 8 9 10]
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Find out total non zero element of matrix
find whether it is prime or not
More from this Author18
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!