Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Strategic Database Technology Management For The Year 2000

Authors: Alan Simon

1st Edition

155860264X, 978-1558602649

More Books

Students also viewed these Databases questions