Q. To estimate the positions and velocity of an object using Kalman Filter in MATLAB when a set of measurements and…

## MATLAB Program to Determine State Transition Matrix

Write a MATLAB Program to determine the State Transition Matrix for Program

1 2 3 4 5 6 7 |
%Program to determine the state transition matrix %provided by electricalvoice.com clc clear all %calculation of state transition matrix using inverse technique syst a=[1 4;-2 -5] phi=exmp(a*t) |

## MATLAB Program to Obtain Transfer Function from Data

Q. Obtain the transfer function from the following data Program

1 2 3 4 5 6 7 8 9 10 11 |
%Program to Obtain Transfer Function from Data %provided by electricalvoice.com clc clear all %obtain transfer matrix A=[-5 1;-6 0] B=[1;2] C=[2 1] D=[0] [num, den]=ss2tf(A,B,C,D) printsys(num,den) |

Q. Obtain the transfer function from the following data…

## MATLAB Program for finding Error Coefficients

Q. The open-loop transfer function of a unity feedback control system is given by Find error coefficients (a). Kp (b).…

## MATLAB Program for Determining Time response of Transfer function

Q. Determine the time response for the following transfer function using MATLAB. Answer. First of all simplifying numerator(num) and denominator(den) of…

## MATLAB Program for finding Poles & Zeroes of Transfer Function

Q. The transfer function of a system is given below Determines the poles and zeroes and show the pole-zero configuration…

## MATLAB Program for Plotting Two sine waves Connected Together

MATLAB Program for plotting Two sine waves connected together, one of which has twice the frequency of other. Program

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
%Two sine waves connected together,one of which has twice the frequency of other %provided by electricalvoice.com clc clear all fr= input('Enter frequency in Hz:'); stptime = input('Enter Stop time in Second:'); frad = 2*pi*fr; t = 0:0.005:stptime; y1 = sin(frad * t); plot(t,y1) hold on y2 = sin(2 * frad * t); plot(t,y2) xlabel('Time (seconds)') ylabel('y(t)') |

…

## MATLAB Program for Drawing two circles one having radius twice the other

Using Matlab Draw two sine waves connected together, one of which has twice the frequency of other. Program

1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
%Program Code for Drawing two circles one having radius twice the other %provided by electricalvoice.com clc clear all x=input('Enter x-cordinate of center of circle:'); y=input('Enter y-cordinate of center of circle:'); r=input('Enter radius of circle:'); ang=0:0.01:2*pi; xp=r*cos(ang); yp=r*sin(ang); plot(x+xp,y+yp) hold on plot(x+2*xp,y+2*yp) hold off |

## MATLAB program for Resistance of the RTD

Write a MATLAB program which should include a prompt for entering the temperature finding out the resistance of the RTD…