1 %This program accepts the concatenated column vectors A, where the size of the Matrix will initially be checked. It 2 %reduced row echelon form from which the program shall interpret whether it forms a basis, is linearly independent or 3 Code to call your function e 1 A = [1 2 3;4 5 6;7 8 9] 2 [Ss1, LI1,BAS1] = splibas (A) 3

Linear Algebra: A Modern Introduction
4th Edition
ISBN:9781285463247
Author:David Poole
Publisher:David Poole
Chapter2: Systems Of Linear Equations
Section2.3: Spanning Sets And Linear Independence
Problem 31EQ
icon
Related questions
Question
100%
BASIS of Vectors
My Solutions >
A given set of vectors is said to form a basis if the set of vectors are both linearly independent and forms a spanning set for the given space. In this exercise, the learners are
asked to determine whether the concatenated vectors are spanning set, linearly independent and form a basis.
Required:
1. Create a function with three output [ss, li,bas] which will determine whether the vectors are spanning set, linearly independent and forms a basis for R^n.
2. The name of the function is splibas.
3. The function accepts the concatenated vectors A and the program will solve the reduced row echelon form from which the interpretation will be done whether the vectors are
linearly independent, spanning set and forming a basis for R^n
Function e
A Save
C Reset
I MATLAB Documentation
1 %This program accepts the concatenated column vectors A, where the size of the Matrix will initially be checked. It will be transformed into its
2 %reduced row echelon form from which the program shall interpret whether it forms a basis, is linearly independent or spanning set for R^n.
3
Code to call your function e
C Reset
1 A = [1 2 3;4 5 6;7 8 9]
splibas (A)
2 [SS1, LI1,BAS1]
3
Transcribed Image Text:BASIS of Vectors My Solutions > A given set of vectors is said to form a basis if the set of vectors are both linearly independent and forms a spanning set for the given space. In this exercise, the learners are asked to determine whether the concatenated vectors are spanning set, linearly independent and form a basis. Required: 1. Create a function with three output [ss, li,bas] which will determine whether the vectors are spanning set, linearly independent and forms a basis for R^n. 2. The name of the function is splibas. 3. The function accepts the concatenated vectors A and the program will solve the reduced row echelon form from which the interpretation will be done whether the vectors are linearly independent, spanning set and forming a basis for R^n Function e A Save C Reset I MATLAB Documentation 1 %This program accepts the concatenated column vectors A, where the size of the Matrix will initially be checked. It will be transformed into its 2 %reduced row echelon form from which the program shall interpret whether it forms a basis, is linearly independent or spanning set for R^n. 3 Code to call your function e C Reset 1 A = [1 2 3;4 5 6;7 8 9] splibas (A) 2 [SS1, LI1,BAS1] 3
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer