# Answer to Question #79458 in MatLAB | Mathematica | MathCAD | Maple for mousa

Question #79458

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.

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.

Expert's answer

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**Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment