2

Click here to load reader

Design Of A Lead Controller Using MATLAB

Embed Size (px)

DESCRIPTION

MatlabAssignmentExperts is a 4 year old firm operating in the niche field of MATLAB Assignments, Homeworks, Projects, Term Paper, Dissertation and Thesis. It is a leading Homework and assignment solution provider that specializes in MATLAB assignments. Our team of experts specializes in solving assignments using Math works’ MATLAB and Simulink software. Our objective is to ensure that all of your MATLAB homework is taken care of and we try and provide complete support for completion of MATLAB assignments. We have been providing help with assignments and been assisting students achieve high quality MATLAB assignments. We aim to ensure that the toughest of the MATLAB assignments are resolved with the support of our team of experts. Our trained and certified experts in MATLAB can assist you to complete all the steps of numerical problems requiring the usage of MATLAB and provide you with analysis as well as detailed solutions. Our online MATLAB homework and online MATLAB tutoring services aims at helping students perform better through involvement of experienced MATLAB experts. We can help you gain MATLAB assignment assistance from our experiences experts who can help you with MATLAB homework help. We help our clients obtain high quality assignments through our live MATLAB homework help services whenever they need assignment help. As MATLAB requires experience and understanding of the software, our team of experts go through intensive training and this can benefit you in a great way. Your academic success reflects our success and so our team of experts is completely dedicated to provide you with high quality and value adding MATLAB online homework services on a 24x7 basis. This can help you not only obtain better grades in MATLAB assignments but also help you learn more about solving MATLAB assignments by going through the step by step MATLAB solutions.

Citation preview

Page 1: Design Of A Lead Controller Using MATLAB

DESIGN OF A LEAD CONTROLLER USING MATLAB (SAMPLE ASSIGNMENT)

For any Help with Design of a lead controller Assignment upload your Homework Assignment by clicking at “Submit Your Assignment “ button

or you can email it to [email protected]

.Totalk to our Online Design of Lead Controller

Tutors you can call at

+1 5208371215

or use our Live Chat option.

Lead and Lag in Moving Average

This sample assignment depicts the meaning of Lead and Lag-

When we

replace the value of a point

with the

mean of it and the next point;we get Lead and when we replace the value of a point with the

mean of it

and the previous point we get Lag.

% compute general moving average (ie simple, linear, etc)

% build weighting vectors

i = 1:lag;

wa(i) = (lag -

i + 1).^alpha./sum([1:lag].^alpha);

i = 1:lead;

wb(i) = (lead -

i + 1) .^alpha/sum([1:lead].^alpha);

% build moving average vectors by filtering asset through weights

a = filter(wa,1,asset);

b = filter(wb,1,asset);

If you call:

[Short,Long]= movavg(A,20,20,1);

You get exaclty the same averages, I guess they tried to give emphasis to the fact that one is long run and the other is short run.

Anyway, the movavg

implements the

weighted moving average

(linear and exponential):

Linear weights

Exponential weights

Page 2: Design Of A Lead Controller Using MATLAB

Oleg