MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 2, Problem 35P
Create the following
V=[5 0 -3 7 6 -1 2 8 4 9]
By hand (pencil and paper) write what will be displayed if the following commands are executed by MATLAB. Check your answers by executing the commands with MATLAB.
(a) a=v([4 5:7 10]) (b) b=v([9, 1 6:-2:2])’
(c) c=[b’ a’]
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Write the following as vectors and matrices
x + y = - z
4x = 3
-6x+ 5y + z = 7
Write the following equation using vectors and matrices
x + y = -z
4x = 3
-6x + 5y + z = 7
2.
Write 3
as a linear combination of the vectors
+
Chapter 2 Solutions
MATLAB: An Introduction with Applications
Ch. 2 - Prob. 1PCh. 2 - Create a variable b that is a row vector with the...Ch. 2 - Create a variable c that is a colums vector with...Ch. 2 - Create a variable d that is a column vectorwith...Ch. 2 - Define the variables x= 3.4 and y= 5.8, and then...Ch. 2 - Define the variables c = 4.5 and d = 2.8, and then...Ch. 2 - Create a variable g that is a row vector in which...Ch. 2 - Create a variable h that is a row vector with...Ch. 2 - Create a variable M that is a column vector in...Ch. 2 - Create a variable N that is a column vector with...
Ch. 2 - Using the colon symbol, create a row vector...Ch. 2 - Using the linspace command, create a row vector...Ch. 2 - Using the colon symbol, create a variable named...Ch. 2 - Use a single command to create a row vector...Ch. 2 - Use a single command to create a row vector...Ch. 2 - Use a single command to create a row vector...Ch. 2 - Create two row vectors v=41:-3:29 and w=17:4:37....Ch. 2 - Create two column vectors T= [5:5:25]’ and S=...Ch. 2 - Create a row vectors A=4:3:13 and a column vector...Ch. 2 - Create a row vector vA=1: 3 : 34 that has 12...Ch. 2 - Create a row vector vC=2 :3 :38 that has 13...Ch. 2 - Create two row vectors vD=20 :4 :44 and vE=50 :3...Ch. 2 - Create a nine-element row vector vF=5 : 7: 61....Ch. 2 - Create the following matrix by assigning vectors...Ch. 2 - Create the following vector by using the linspace...Ch. 2 - Create the following matrix by typing one command....Ch. 2 - Create the following matrix by typing one command....Ch. 2 - Create the following matrix by typing one command....Ch. 2 - Create the following matrix by typing one command....Ch. 2 - Create the following matrix by typing one command....Ch. 2 - Create the following three row vectors: a=[58102]...Ch. 2 - Create the following three row vectors: a= [5 8 -1...Ch. 2 - Create the following to row vectors: d=[6-1 4 0 -2...Ch. 2 - Prob. 34PCh. 2 - Create the following vector: V=[5 0 -3 7 6 -1 2 8...Ch. 2 - Create the following vectors: u= [0 9 -5 6 3 -1 2]...Ch. 2 - Create the following matrix M: M= 1 7 13 19 25 3 9...Ch. 2 - Create the following matrix N: N= 0 3 6 9 12 15 18...Ch. 2 - Create the following matrix G: G= 0.1 0.2 0.3 0.4...Ch. 2 - Create the following matrix K: K= 0.25 0.5 0.75...Ch. 2 - The following matrix is defined in MATLAB: S= 1 2...Ch. 2 - The following matrix is defined in MATLAB: T= 2 4...Ch. 2 - By hand (pencil and paper) write what will be...Ch. 2 - Using the zeros, ones, and eye commands, create...Ch. 2 - Use the eye, ones, and zeros command to create the...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.Similar questions
- 2. 4 Compute w• w, x•w, and using the vectors w = w• w - 1 - 3 and x = w•w = (Simplify your answer. Type an integer or a simplified fraction.) X•w = (Simplify your answer. Type an integer or a simplified fraction.) w• w (Simplify your answer. Type an integer or a simplified fraction.)arrow_forwardMultiply matrix [1 2 3] by [5 o 4 2 1 03 0arrow_forwardConsider the following matrix and vector: 1 0 1 ---A A = -2 1 -4 and x 1₂ 0-3 6 Given that Ax-0 and x₂-1, find x₂- 01arrow_forward
- 1 4 7 Determine whether the set of vectors 9 is linearly dependent or not. If so, find a way to write the third vector as a linear combination of the other two. For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). BI U S Paragraph Arial 14px x? X2 ABC +, -arrow_forwardWrite each vector as a linear combination of the vectors in S (if possible).arrow_forwardGive bases for row( A), col( A), and null(A)arrow_forward
- 4 -2 -6 -3 1. Let A 8 2 -3 0 2 5 3 Answer the following. If you use technology, your explanations should only rely on the rref() and/or multiplication commands on Sage or another CAS (you can use other commands to check your work). a) Find a non-zero vector in R4 that is an element of Col(A) and not an element of Nul(A) or explain why it's not possible to do so. If you do find such a vector, explain both why it is an element of Col(A) and why it is not an element of Nul(A)– these general instructions apply for all parts of the problem. -3arrow_forwarda. Write the vector (-17, –18, 28) as a linear combination of a1 = (-4, -1,5), a2 = (-2, –3, 1) and az = (-1,1, –3). Express your answer in terms of the named vectors. Your answer should be in the form 4a1 + 5a2 + 6ả3, which would be entered as 4a1 + 5a2 + 6a3. %3D (-17, – 18, 28) b. Represent the vector (-17, –18, 28) in terms of the ordered basis B = {(-4, –1, 5) , (-2, –3, 1),(-1,1, –3)}. Your answer should be a vector of the general form . [(-17, —18, 28)]вarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Vector Spaces | Definition & Examples; Author: Dr. Trefor Bazett;https://www.youtube.com/watch?v=72GtkP6nP_A;License: Standard YouTube License, CC-BY
Understanding Vector Spaces; Author: Professor Dave Explains;https://www.youtube.com/watch?v=EP2ghkO0lSk;License: Standard YouTube License, CC-BY