I.Use MATLAB to determine whether w is in the span of the given vectors V₁, V2, ... Vn . If your answer is yes, write w as a linear combination of the vectors V₁, V2, ... Vn and enter the coefficients as entries of the matrix as instructed: 1.) v₁ = (1, 2, 3, 4), v₂ = (–1, 0, 1, 3), v3 = (0, 5, -6, 8) and w = = (3, -6, 17, 11). (Note you need enter the vectors in MATLAB as columns of a matrix EXM1.) If you decided that w = c₁V₁ + C₂V₂ + ... + CnVn type EXA1=[C₁ C₂ Cn] Example: if w = 2v₁ 3v2 +5v3 enter EX1 = = [2 - 3 5]

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

any idea how to solve ?

### Instructions:

**I. Use MATLAB to determine whether \( \mathbf{w} \) is in the span of the given vectors \( \mathbf{v}_1, \mathbf{v}_2, \ldots, \mathbf{v}_n \).**  
- If your answer is yes, write \( \mathbf{w} \) as a linear combination of the vectors \( \mathbf{v}_1, \mathbf{v}_2, \ldots, \mathbf{v}_n \) and enter the coefficients as entries of the matrix as instructed.

#### Vectors:
1. \( \mathbf{v}_1 = (1, 2, 3, 4) \)
2. \( \mathbf{v}_2 = (-1, 0, 1, 3) \)
3. \( \mathbf{v}_3 = (0, 5, -6, 8) \)
4. \( \mathbf{w} = (3, -6, 17, 11) \)

*(Note: You need to enter the vectors in MATLAB as columns of a matrix EXM1.)*

- If you decided that \(\mathbf{w} = c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_n\mathbf{v}_n\)  
  Type: \( \text{EXA1} = [c_1 \, c_2 \, \cdots \, c_n] \)

**Example:**  
- If \( \mathbf{w} = 2\mathbf{v}_1 - 3\mathbf{v}_2 + 5\mathbf{v}_3 \), enter \( \text{EXA1} = [2 \, -3 \, 5] \)
Transcribed Image Text:### Instructions: **I. Use MATLAB to determine whether \( \mathbf{w} \) is in the span of the given vectors \( \mathbf{v}_1, \mathbf{v}_2, \ldots, \mathbf{v}_n \).** - If your answer is yes, write \( \mathbf{w} \) as a linear combination of the vectors \( \mathbf{v}_1, \mathbf{v}_2, \ldots, \mathbf{v}_n \) and enter the coefficients as entries of the matrix as instructed. #### Vectors: 1. \( \mathbf{v}_1 = (1, 2, 3, 4) \) 2. \( \mathbf{v}_2 = (-1, 0, 1, 3) \) 3. \( \mathbf{v}_3 = (0, 5, -6, 8) \) 4. \( \mathbf{w} = (3, -6, 17, 11) \) *(Note: You need to enter the vectors in MATLAB as columns of a matrix EXM1.)* - If you decided that \(\mathbf{w} = c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_n\mathbf{v}_n\) Type: \( \text{EXA1} = [c_1 \, c_2 \, \cdots \, c_n] \) **Example:** - If \( \mathbf{w} = 2\mathbf{v}_1 - 3\mathbf{v}_2 + 5\mathbf{v}_3 \), enter \( \text{EXA1} = [2 \, -3 \, 5] \)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Vectors
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.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education