Question: % Practice Exercise 8 . 1 . 1 to 3 % Consider the following array x = [ 1 1 0 4 2 6 5

% Practice Exercise 8.1.1 to 3
% Consider the following array
x=[110426
587823
5645913
232289];
%8.1.1) Using single index notation, use the find function to find the index numbers of the elements in the array
% that contain values greater than 10 and call the results index.
% Determine the values of index here
index = find(x>10)
%8.1.2) Find the row and column numbers (sometimes called subscripts) of the elements in the array that contain values
% greater than 10, using the find function... and call the results rows and cols.
% Determine the values of rows and cols here
rows = find(
cols = find(
%8.1.3) Determine the values in the x array that are greater than 10, using either the results from part 1 or part2. Call your answer x_gt_10
% Determine the values of x_gt_10 here
x_gt_10= value(index)

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 Programming Questions!