Consider the problem of finding the location of all positive elements in a 2D matrix. Write a Matlab script to solve it:
a) Using the Matlab find function (without loops).
b) Using for loop.
c) Using while loop.
d) Use the tic and toc function to compute the execution time for each code segment. Use help feature to review these two useful functions. Show a screenshot of the output and state three conclusions about this experiment.
1
Expert's answer
2018-07-29T12:21:32-0400
Dear mousa, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment