Question: Create a new variable EEG _ 3 D and assign to it a matrix of NaNs with 5 rows, 1 0 0 columns, and 6

Create a new variable EEG_3D and assign to it a matrix of NaNs with 5 rows, 100 columns, and 6pages(third dimension). Assign the values of the first and fourth pages of EEG_3D with the first 5 channels, from time points 1 to 100. Assign the values of the second and fifth pages of EEG_3D with channels 6 to 10, from time points 101 to 200. Assign the third and sixth pages of EEG_3D with a value of 23.
Output the values of EEG_3D(3,42,:).
Create a variable EEG_subset that includes the time points 601:650 from channel 7. Randomize the values in EEG_subset by placing the values in new positions that are given by randperm(50).(Hint, you can do this in one line of code.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!