1. Engineering
  2. Electrical Engineering
  3. objectives the aim of this experiment is to make students...

Question: objectives the aim of this experiment is to make students...

Question details

Objectives: The aim of this experiment is to make students 1. Get introduced to MATLAB 2. Solve linear equations using MATLAB Tutorial on programming using MATLAB . Creating armays and matrices. Write the following code in to the editor and observe th output. a row vector array with the following elements:x-(1.2.3,4) Code: -(1234 b. Create a column vector array with the same elements Code:1:2.3:4 c. Creating a (2x2) matrix with the following elements Code: x -[1 2:3 4] Code: y-inv(x) Write the output: 2. Finding the inverse of a square matrix: Task 1: Solving Linear Equations using MATLAB Solve the following system of equations: x1 + 2x2 + 3x3 = 1 4x1 + 5x2 + 6x3=2 7x + 8x2 +9x,3 Express the equations in matrix form 1 2 31X 7 8 911x,] 13 12 31 [1 inverse 4 5 6 1.2 Write the code for the above problem and obtain a solution on the vector x
Task 2: Using MATLAB to Solve Equations Related to Circuits Solve for the current through RI and R3 using MATLAB R, 12 4Ω a) Write the equations for the system b) Write the code for the solution and find the solution
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution