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 Solvers115
Suggested Problems
-
995 Solvers
-
Sum all integers from 1 to 2^n
14754 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10697 Solvers
-
722 Solvers
-
Switch matrix to a column vector
346 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!