Question: Here is my question please take your time Please Write your code in Matlab to evaluate the output of the unknown system from Semmlow Ex

Here is my question please take your time

Please Write your code in Matlab to evaluate the output of the unknown system from Semmlow Ex 5.1 (unknown_sys5_1.mat code in appendix) according to 1) an impulse, 2) a unit step input, and 3) a ramp input with a slope 1. The code should be able produce a single figure with two horizontal subfigs, one for input functions, and one for output waveforms. Both should have labeled x and y axes, titles, and is able to demonstrate three normalized functions/waveforms in time. Please start with the code in the images below also please write the code in plain text much appreciated

here are the images below take your time

Here is my question please take your time Please Write your code

unknown_sys5 1 function y= unknown_sys5_1(x) \% Function to simulate an unknown second-order system A=[1.01.98890.9890]; B=[.1594.03067.1534].0001; y= filter (B,A,x); Starting code for 2c close all; clear all; clc; oof setup sample_time=2; % S sampling_frequency=200; % Hz sampling_period=1/sampling_frequency; % S num_data=sample_time*sampling_frequency; time =(0: num_data-1)*sampling_period; % set time from 0-2s with appropriate resolution blank_input=zeros(1, num_data)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!