Two Column 365 Row Matrix M Stored Memory Question Task Provide Matlab Code Following 1 Ge Q11796525

A two-column, 365-row matrix M is stored into memory.

Question/Task: [Provide the MatLab code for the following]

1) How can we get the location of every element in the firstcolumn that is less than zero but greater than -10?

2) How can we get the location of every element in the secondcolumn that has a magnitude greater than or equal to 5?

3) Suppose the first column has 76 zeros in it. How can welocate only the first 20 zeros of the first column?

4) Suppose the first column has 76 zeros in it. How can welocate the last 20 zeros of the first column?

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *