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

  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.

  Provide regression equation for intel stock excess returns

Provide the regression equation for the Intel stock excess returns when using S&P 500 excess returns and inflation as explanatory variables - What can you say about the significance of the regression coefficients?

  Plot the original periodic square wave

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

  Is it possible tom will catch jerry in his life time?

Use Adam-Bashforth Technique with your result from Runge-Kutta method as initial step to compute when will Tom catch Jerry - Suppose Tom's acceleration is unknown someone found did not catch Jerry in 2 minutes. Is it possible Tom will catch Jerry in..

  What is cause of ringing seen on top of rectangular pulse

What is the cause of the "ringing" seen on top of the rectangular pulse shown in figure 2? What happened to the rectangular pulse in the frequency domain? What property does this represent?

  Calculate the work done by integration

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

  Write an expression for the number of configurations

Consider the subsystem of N magnets, which has energy EN. Write an expression for the number of configurations K (N, EN) that have energy EN

  Write a code that will represent the complex exponential

Write a code that will represent the complex exponential form of the Fourier series for a triangular signal, half wave rectified signal, full wave rectified signal, and train of pulses signal, use the table that the instructor will give you during..

  Find input and output voltage

R-L-C circuit example - Find input and output voltage w.r.t. time for below circuit. R-R-L circuit - Find input and output voltage w.r.t. time for circuit shown

  Number of packets received with time

Let x be the number of packets received with time -

  Need an expert who can model a drill in simulink

Need an expert who can model a drill in Simulink. Working model of a drill needing for an improvment to behave more realistically as a drill to drill through plastic block.

  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.

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