Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions