/*---------------------------------------------------------------------------- * R T L K e r n e l E x a m p l e *---…
Embedded+Measurement 源代码
汇集 Embedded+Measurement 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* **************************************************************************** * * "DHRYSTONE" Benchmark …
function [V, converged, i] = state_est(branch, Ybus, Yf, Yt, Sbus, V0, ref, pv, pq, mpopt) %STATE_EST Solves a state estimation p…
/* **************************************************************************** * * "DHRYSTONE" Benchmark …
%Discrete Kalman filter for PID control %Reference kalman_2rank.m %x=Ax+B(u+w(k)); %y=Cx+D+v(k) clear all; close all; ts=0…
%Kalman filter %x=Ax+B(u+w(k)); %y=Cx+D+v(k) clear all; close all; ts=0.001; M=3000; %Continuous Plant a=25;b=133; sy…
%Discrete Kalman filter %x=Ax+B(u+w(k)); %y=Cx+D+v(k) function [u]=kalman(u1,u2,u3) persistent A B C D Q R P x yv=u2; if u…
%Discrete Kalman filter for PID control %Reference kalman_2rank.m %x=Ax+B(u+w(k)); %y=Cx+D+v(k) clear all; close all; ts=0…
%Kalman filter %x=Ax+B(u+w(k)); %y=Cx+D+v(k) clear all; close all; ts=0.001; M=3000; %Continuous Plant a=25;b=133; sy…
%Discrete Kalman filter for PID control %Reference kalman_2rank.m %x=Ax+B(u+w(k)); %y=Cx+D+v(k) clear all; close all; ts=0…