What is the span of the columns

Assignment Help Simulation in MATLAB
Reference no: EM13978369

The goals of this project are: (1) to be able to input by hand and use MATLAB functions to generate vectors and matrices in MATLAB; (2) to use MATLAB to generate a reduced echelon form for a matrix; (3) to solve a system using the reduced echelon form of its augmented matrix; (4) to investigate the linear dependence of a set of vectors.

PROBLEM 1: a) Generate A a 5x4 matrix based on five historical dates you consider important. (Input this by hand; for example, if Time Travelling Terp was planning to use the birthdate of Gabriel Cramer of Cramer's rule fame, 31 July 1704, its matrix A will have a row or column containing the numbers 31, 07 ,17, 04.

b) Using MATLAB functions, generate B, a 5x4 matrix of ones,O a 5x4 matrix of zeroes and I, the 4x4 identity matrix.  Hint: To generate B, O, and I, search for help on the functions zeroes, ones, eye.

PROBLEM 2: Based on the matrices in problem 1, compute the following elements and then explain what they are in the corresponding matrix:

(a) a= A(2,4) ; (i.e. this is the        element/row/column of the matrix A)

(b) ac= A(:,4);

(c) ar= A(2,:).

Is it true or false that (d) a*B=B*a and (e) ac*I=I*ac? (here * stands for multiplication; if a side of an equality cannot be computed, the equality is false).

Explain your results for Problem 2 points (d) and (e ).

PROBLEM 3: (a) Generate a random 3x5 matrix ?? with entry integers uniformly between -100 and 100. Hint: Search for help on the functions rand and randi. (b) Put the matrix ?? in reduced echelon form using the command rref. (c) Are the columns of A linearly independent? Why or why not? (d) What is the span of the columns of A? Base your answer on your result at points 3b and your general knowledge of what the Span of 1, 2, 3, 4 linearly independent vectors should be.

PROBLEM 4: Water is flowing through a network of pipes (in thousands of cubic meters per hour) as shown in the figure below.

1129_pipes.png

(a) Set-up in MATLAB a matrix equation whose solution determines the water flow represented by

x??, ?? = 1, 2, ? , 7. Hint: to determine what system you are trying to solve, please remember that 'Volume in=Volume out", so for example the equation corresponding to the leftmost, top node is: 600 = x1 + x3;

(b) State what the rows and columns in the matrix represent;

(c) Based on the number of the equations and the number of unknowns, do you expect that the equation at point (a) has no solutions, exactly one solution or an infinity of solutions?

(d) Solve the equation and discuss your answer;

(e) Find the water flow (a vector containing values for all x??, ?? = 1, 2, ? , 7) when x5 = 1000 and x6 = 0.

PROBLEM 5: a) Using commands such as figure, ezplot and hold graph the lines representing each equation in the system

-3x - y = 3

6x + 2y = 1;

b) Use the graph to determine whether the system is consistent or inconsistent;

c) If the system is consistent, approximate from the graph the solution;

d) Solve the system algebraically, using MATLAB to help you, and compare your algebraic result with the approximation in part c);

e) Repeat problem 5 parts a-d for the system

2x - 8y = 3

0.5x + y = 0.

Reference no: EM13978369

Questions Cloud

What are the extreme points of the feasible region : Are there any slack values? Are there any surplus values? What are the extreme points of the feasible region?
What distance from the center would you need to hit the bar : Consider a uniform metal bar 10 cm long and mass 60 gram that sits at rest on a frictionless surface. If you hit the bar with an impulse of 1500 g*cm/s, at what distance from the center would you need to hit the bar to make it hit a wall 20 cm awa..
An extension for my assignment despite countless : Pneumonia and unfortunately my professor refuses to allow an extension for my assignment despite countless doctors notes. Honestly, I am still so sick that I can't really form long coherent thoughts in my head to fully complete this assignment. Any h..
What is a brief description of the information it collects : Does the information represent a primary or secondary source of data? Explain.
What is the span of the columns : (a) Generate a random 3x5 matrix ?? with entry integers uniformly between -100 and 100. Hint: Search for help on the functions rand and randi. (b) Put the matrix ?? in reduced echelon form using the command rref. (c) Are the columns of A linearly ..
Calculate the net benefits for each of the four years : Calculate the net benefits for each of the four years in real terms (in period 0 prices). Calculate the real (i.e. inflation adjusted) discount rate.
Enter your responses rounded to one decimal place : Instructions: Enter your responses rounded to one decimal place.  Make sure to pay attention to the units measured in the question, i.e. million or trillion.
Assist with a promotional/educational activity. : Create a 20-question HIPAA (Health Insurance Portability and Accountability Act) Quiz (include answers) on protecting patient health information.
What is the minimum value of coefficient of static friction : What is the minimum value of the coefficient of static friction that would keep the blocks from moving ? what is the acceleration on the moving blocks when the coefficient of kinetic friction UK is .070?

Reviews

Write a Review

Simulation in MATLAB Questions & Answers

  Calculate the value of the function

For the polynomial f (x) = 0.025x5 - 0.0625x4 - 0.333x3 + x2 - 2, Calculate the value of the function for x = -1, - 0.5, 0, 0.5, 1, 1.5, 2, 2.5

  Describe both the hydraulic press and control valve

Formulate a solution to the diffusion equation using an explicit method and develop a Matlab script file implementing this explicit method - Develop a Simulink model which describes both the hydraulic press and control valve.

  Simulate circuits using matlab

How can I use MatLab to simulate circuits and also to plot graphs especially Bode diagrams?

  Solve the linear system

Compute the rank of S manually and use the MATLAB function to verify the result - Solve the linear system of equations Ax = b using MATLAB.

  Employ the use of word comparison instructions to control

Utilizing a single timer. employ the use of Word Comparison instructions to control our simulated traffic light. The sequence of operation and timing durations are set out in following timing diagram.

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Create a simulink model for the scara robot depicted

Create a Simulink Model for the SCARA robot depicted - The motor specification is appended to this brief - create a subsystem to model the motors taking into account that the inertia of Arms 1 and 2 combined is not a constant but depends upon the..

  What is the total variability in the dataset

This problem is aimed at helping you understand the PGA method using an idealized dataset Since you know the data you are generating. it should help you understand the capability of the method. Perform a principal component analysis on the dataset ..

  Write a function with header

Write a function with header [M]= myMax(A) where M is the maximum (largest) value in A. Do not use the built-in MATLAB function max

  Develop and simulate in matlab model

Develop and simulate in matlab model of trash to steamp lant in Baltimore

  Assignment- optimal stopping rule for a gambler

Assignment- Optimal Stopping Rule for a Gambler (or City Trader), Objective - To practice MATLAB and basic Simulation Techniques. Problem - A gambler makes a series of plays with outcomes X1, X2,.... where the Xi, i ≥ 1 are independent, identically d..

  Determine the friction factor of the system

Determine the friction factor f of the system using the Secant method. Start with initial guesses f = 0.01 and 0.02, and perform two iterations

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd