Problem 2904. Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), their grades are reported in two columns: Total Grade & Percent Grade. The rows of the student's page represent Math, Physics, Chemistry, and Biology in that order.
Write a function that extracts a student's Percent Grade in Physics given the student's number (n)
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers118
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15609 Solvers
-
Back to basics 11 - Max Integer
791 Solvers
-
Matrix indexing with two vectors of indices
732 Solvers
-
Simple equation: Annual salary
4202 Solvers
-
367 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!