Consider X to be a 100-by-100 matrix. Which of the following commands will extract elements common to every 2nd row (starting from the 2nd row) and every 3rd column (starting from the 1stcolumn)? Select one: a. X(2:2:end, 1:3:end) b. X[1:2:end, 1:3:end] c. X([2:, 3:]) d. X([2:2:end, 1:3:end]) e. X(1:2:99, 1:3:96)

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter8: Working With Trendlines, Pivottables, Pivotcharts, And Slicers
Section: Chapter Questions
Problem 8EYW
icon
Related questions
icon
Concept explainers
Question

Q1

Consider X to be a 100-by-100 matrix. Which of the following commands will extract elements common to every 2nd row (starting from the 2nd row) and every 3rd column (starting from the 1stcolumn)?

Select one:
a.
X(2:2:end, 1:3:end)
b.
X[1:2:end, 1:3:end]
c.
X([2:, 3:])
d.
X([2:2:end, 1:3:end])
e.
X(1:2:99, 1:3:96)
 
Q2

Which of the following syntax performs the forward elimination process in Gaussian elimination? Here r represents the row index, c is the column index and n represents the number of rows in the augmented matrix.

Select one:
a.
Aug(r,:) = Aug(r,:) - factor*Aug(c,:)
b.
Aug(r,c) = Aug(r,c) - factor*Aug(c,:)
c.
Aug(r,[c n+1]) = Aug(r,[c n+1]) - factor*Aug(r,[c n+1])
d.
Aug(r,n+1) = Aug(r,n+1) - factor*Aug(c,:)
e.
Aug(r,c) = Aug(r,:) - factor*Aug(c,c)
Clear my choice
 
Q3

Which syntax will solve for the differential equation using the in-built function ode45() with a time interval of 0 to 10 and an initial condition of 0?

 

Select one:
a.
[t,y] = ode45(@(t,y) 3*t*y, [0 10], 0)
b.
[t,y] = ode45(@(t) 3*t, [0 10], 0)
c.
[t,y] = ode45(@(t,y) 3*t, [0 10], 0)
d.
[t,y] = ode45(@(t,y) 3*t, 0, 10, 0)
e.
[t,y] = ode45(@(y,t) 3*t*y, [0 10], 0)
 
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Concepts in designing Database
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning