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 Solvers123
Suggested Problems
-
Select every other element of a vector
35992 Solvers
-
11950 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
438 Solvers
-
Rotate a matrix for 180 degree
185 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!