Code Monkey home page Code Monkey logo

willr6's Projects

elsevier_latex_template icon elsevier_latex_template

Common template of the research article using elsarticle class. It also contains elsarticle-ru class file and elsarticle-harv-ru bibliography style file that is russian translation of the originaly provided files by Elsevier (see http://www.elsevier.com/author-schemas/latex-instructions).

stochastic-recursive-modified-extended-least-squreas-with-exponential-forgetting-factor-rmelswef icon stochastic-recursive-modified-extended-least-squreas-with-exponential-forgetting-factor-rmelswef

% This function is made by Ahmed ElTahan %{ This function is intended to estimate the parameters of a dynamic system of unknown parameters using the Recursive Modified Extended Least Squares With Exponential Forgetting Factor Method (RMELSWEF) for time varying parameter system which has an noise addition. After an experiment, we get the inputs, the outputs of the system. The experiment is operated with sample time Ts seconds. The model is given by A(z) y(t) = B(z)sys u(t) + C(z) eps(t) which can be written in z^(-d) B(z) C(z) y(t) = ------------------- u + ------------ e = L*u + M*e A(z) A(z) where: -- y : output of the system. -- u : control action (input to the system). -- e : color guassian noise (noise with non zero mean). -- Asys = 1 + a_1 z^-1 + a_2 z^-2 + ... + a_na z^(-na). [denominator polynomail] -- Bsys = b_0 + b_1 z^-1 + b_2 z^-2 + ... + b_nb z^(-nb). [numerator polynomail] -- C = 1 + c_1 z^-1 + c_2 z^-2 + ... + c_nc z^(-nc). [noise characteristics] -- d : delay in the system. A and C are monic polynomials. (in output estimation of the stochastic system as C is monic, we add e(t) to the estimation i.e. not starting from c1*e(t-1)) Function inputs u : input to the system in column vector form y : input of the system in column vector form na : order of the denominator polynomail nb : order of the numerator polynomail nc : order of the characteristics of the noise (usually <=2 for max) d : number represents the delay between the input and the output lambda : forgetting factor -->>> 1>lambda>0 Function Output Theta_final : final estimated parameters. Gz_estm : pulse (discrete) transfer function of the estimated parameters 1 figure for the history of the parameters that are being estimated 2 figure to validate the estimated parameters on the given output using the instantaneous estimated parameters. 3 figure to plot the input versus time. Note: the noise added shall not to be with a magnitude close to the system output, it should be smaller, this is in simulation such as here or the algorithm will go crazy that can't distinguish between the main and the noisy signal (This can be measured in practical case finding noise to signal ratio). An example is added to illustrate how to use the funcrtion %}

tac16 icon tac16

A. Selivanov and E. Fridman, β€œEvent-Triggered H-infinity Control: a Switching Approach,” IEEE Transactions on Automatic Control, vol. 61, no. 10, pp. 3221–3226, 2016.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.