Find the roots for polynomials shown using matlab

Assignment Help Simulation in MATLAB
Reference no: EM131426549

MATLAB Session on Signals, Systems

MATLAB Session

-Continuous Time System Analysis

  • Learn to find "roots" for "Characteristic Functions" in MATLAB.
  • Find "Zero Input Response" from "Differential Equation" in CT system and plot the result w.r.t. time.
  • Find "Zero State Response" from "Differential Equation" in CT system and plot the result w.r.t. time.
  • Discrete Time System Analysis
  • Learn to find and plot DT signals, impulse, response.
  • Find "Zero State Response" using filter function from "DifferenCE Equation" in DT system and plot the result w.r.t. time sequence.
  • Write MATLAB code to plot Zero State Response (Convolution), y(t), for given signal and impulse response using conv function.

Finding Roots for Characteristic Functions -

INLAB Report (1):

  • Find the roots for polynomials shown above using MATLAB.
  • Can you guess a function which finds "roots" for polynomials in MATLAB?
  • Use help in MATLAB to find the syntax for function.

Finding Zero Input Response and Zero State Response in CT System -

INLAB Report (2):

  • Find the Zero Input Response using MATLAB.
  • Consider using "dsolve" function.
  • Use help in MATLAB to find the syntax for function.

INLAB Report (3):

  • Add following results to your previous C2.2 results.
  • Plot your result, yzi(t), w.r.t. time.
  • Use "linspace" function to define time from 0[sec] to 3[sec] with 100[samples].
  • Use "y_zi = eval(vectorize(y));" to convert function into a vector.
  • Display between 0 ~ 3[sec] in x-axis, 0 ~ 6 in y-axis.
  • Use help in MATLAB to find the syntax for function.

INLAB Report (4):

  • Find the Zero State Response using MATLAB.
  • Plot your result, yzs(t), w.r.t. time.
  • Use "linspace" function to define time from 0[sec] to 3[sec] with 100[samples].
  • Display between 0 ~ 3[sec] in x-axis, 0 ~ 6 in y-axis.

Finding Impulse Response (h(n)) for a DT system -

INLAB Report (5):

Generate DT unit step function x[n] = u[n]

  • Define time sequence n from 0 to 19.
  • Use "ones" function to generate unit step function.
  • Use help in MATLAB to find the syntax for function.

Plot your result, x[n], w.r.t. time sequence n using "stem" function.

  • Display result from -1 to 19 in x-axis and -2 to 2 in y-axis

INLAB Report (6):

Generate DT unit ramp function x[n] = r[n] = t x u[n]

  • Define time sequence n from 0 to 19.
  • Use "ones" function to generate unit step function.
  • Use help in MATLAB to find the syntax for function.

Plot your result, x[n], w.r.t. time sequence n using "stem" function.

  • Display result from -1 to 19 in x-axis and -2 to 20 in y-axis.

INLAB Report (7):

Generate DT unit impulse function x[n] = d[n]

  • Define time sequence n from 0 to 19.
  • Use "zeros" function to generate unit step function.
  • Use help in MATLAB to find the syntax for function.

Plot your result, x[n], w.r.t. time sequence n using "stem" function.

  • Display result from -1 to 19 in x-axis and -2 to 2 in y-axis

INLAB Report (8):

Find the Impulse Response for a DT system below using MATLAB.

y[n+2] - 0.6y[n+1] - 0.16y[n] = 5x[n=2]

Plot your result, h[n], w.r.t. time sequence n using "stem" function.

Use "filter" function to describe the difference equation.

a = [1 -0.6 -0.16];

b = [5 0 0];

h = filter(b, a, x);

Think about your input x[n]... Use time sequence n from 0 to 19.

Finding Zero State Response for a DT system -

INLAB Report (9):

For the same DT system below,

y[n+2] - 0.6y[n+1] - 0.16y[n] = 5x[n+2]

Apply DT unit step input x[n] = u[n] to the system. Use time sequence n from 0 to 19.

Plot your results, x[n] (input), y[n] (output), w.r.t. time sequence n using "stem" function.

INLAB Report (10):

For the same DT system below,

y[n+2] - 0.6y[n+1] - 0.16y[n] = 5x[n+2]

Apply DT unit ramp input x[n] = r[n] to the system. Use time sequence n from 0 to 19.

Plot your results, x[n] (input), y[n] (output), w.r.t. time sequence n using "stem" function.

INLAB Report (11):

For the same DT system below,

y[n+2] - 1.5y[n+1] + y[n] = 2x[n]

Apply DT input x[n] = 4-nu[n] to the system.

  • Use time sequence n from 0 to 19.
  • Use "stp_fn(n)" to generate input.

Plot your results, x[n] (input), y[n] (output), w.r.t. time sequence n using "stem" function.

Finding and plotting Convolution Integral -

INLAB Report (12):

Write MATLAB code to plot Discrete Time Zero State Response (Convolution), y(t), for below signal, x[n] ,and impulse response, h[n].

  • Use "conv" function to find convolution.
  • Plot your results (x[n], h[n], y[n] )

Explain your code. (Provide line-by-line description on the code)

INLAB Report (13):

Write MATLAB code to plot Continuous Time Zero State Response (Convolution), y(t), for the same signal, x( t ) ,and impulse response, h(t).

-Convert your DT signals to CT signals (Use 100 sample points between 1 discrete sequences to be considered as "continuous")

  • x[n] → x(t)
  • h[n] → h(t)

-Use "conv" function to find convolution.

-Think about spacing between integers (number of sample points between 1 discrete sequences), you will have to normalize your result.

-Plot your results (x(t), h(t), y(t))

Explain your code. (provide line-by-line description on the code)

Attachment:- Matlab Assignment.rar

Reference no: EM131426549

Questions Cloud

General categories of attachment styles : Theorist Kim Bartholomew (1990) proposed four general categories of attachment styles. Name and describe each of these styles or categories. Can an individual exhibit characteristics of more than one of these categories? What are the two generally..
Probability that joint angle will be less than 18 degrees : What is the probability that the shoulder joint angle will be between 20 and 25 degrees?- What is the probability that the joint angle will be less than 18 degrees?
Differences between leadership and management : Question 1: Describe the similarities and differences between leadership and management. Explain the six types of power identified by French and Raven. What is the relationship between leadership and power?
Probability that the total phosphorus differs from the mean : What is the probability that the total phosphorus is less than 13 mg/liter?- What is the probability that the total phosphorus differs from the mean by more than 5 mg/liter?
Find the roots for polynomials shown using matlab : INLAB Report (1): Find the roots for polynomials shown above using MATLAB. Can you guess a function which finds "roots" for polynomials in MATLAB? Use help in MATLAB to find the syntax for function
What interventions do you suggest for eachmember of family : Based on what you've learned so far, describe your plan for the family. What ethical interventions do you suggest for eachmember of the family? Explain why you think each of those interventions would be beneficial.
What is the difference between productivity and efficiency : What company will you research and what makes it interesting from an Operations Management perspective? What do you already know about this topic and what research questions do you expect to answer?What are some characteristics of operations manageme..
What are your strengths as a time manager : What are your strengths as a time manager? What are your greatest weaknesses? Discuss one thing in your life you wish to prioritize and create more time for.
Do you need a matrix for data triangulation : What are three data sources will you use for your AR? Do you need a matrix for data triangulation? Is the process I am using to answer my question clear enough that my students (clients or participants) can understand it?

Reviews

len1426549

3/14/2017 3:29:02 AM

MATLAB Session on Signals, Systems CT and DT Z.I. Response and Z.S. Response MATLAB Session. Complete all "INLAB Report" in the slides. Include following in your reports. Your own MATLAB code. All outputs. (2-D plots, data array, etc.) Description of your code and results in your own words. Submit a printed copy of your report.

Write a Review

Simulation in MATLAB Questions & Answers

  Develop a fuzzy forecasting system using matlab

Develop a fuzzy forecasting system using Matlab Toolbox. The system performs a forecasting task for power marketing price. The data used in this assignment is from the real world and it has been split up into two parts.

  Create and use at least one loop in function

Make a main m-file that you use to run and call your function file. Give it a unique name. Make sure and include your name, your section, and date at the top of the m-file. Create and use at least one loop (for/while/midpoint), Create and use at l..

  What is the expression for the diagonal terms

What is the expression for the diagonal terms in the resulting matrix of coefficients of the tridiagonal system of linear equations that has to be solved

  Construct and validate a discrete event simulation

Construct and validate a discrete event simulation of the haul network at open pit mine. The model will be used for 2 main applications.

  Implements the nonlinear finite-difference method

A MATLAB function shoot.m that implements the Nonlinear Shooting method, a MATLAB function fd.m that implements the Nonlinear Finite-Difference method, and a MATLAB script main.m that solves the given BVP and plots the approximated solutions

  Simulate the standardised sum of independent

Simulate the standardised sum of independent and identically distributed variates - Fit a linear regression model as in Q5, and plot your estimates for β0 and β1 as N increases, together with a line indicating their true values. Supply your code.

  Compute and plot the given signals

Use ‘conv‘ command in MATLAB and compute and plot the following signals: y1 = x1 (t)*x2(t) Solve this problem by hand and compare your results. Submit your hand calculation along with your report.

  Matlab code to improve the prediction of second output

if you can have a look on the MATLAB code to improve the prediction of 2nd output and explain how the RMSE is low and network training and testing R above 0.9 while the correlation factor for the 2nd output is very low

  Write down the velocity of collar

Write down the velocity of collar C in terms of the variables (r1; _1) and their time derivatives. Similarly, write down the velocity of collar C in terms of the variables (r2; _2) and their time derivatives

  Calculate the work done by integration

Takes an input argument and calculate the work done by integration usingn segment trapezoidal rule

  Discuss the direction of the phase plot

In a separate cell (called Summary Cell) - Discuss the direction of the phase plot with respect to its starting point, where the pulse turns off and at its final value

  Evaluate the given series of equations using matlab

Evaluate the following series of equations using MATLAB. Convert each of the three equations to frequency domain both by using the MAT lab command and by hand. These equations are determined in MATLAB using the laplace(F) command.

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