0% found this document useful (0 votes)
2 views11 pages

Programming File Removed

The document outlines various MATLAB programs for plotting and simulating electrical and mechanical systems. It includes tasks such as plotting voltage and current, simulating R-L-C circuits, and solving differential equations using Simulink. Each program specifies input and output requirements for the simulations and plots.

Uploaded by

arbazansari29a
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views11 pages

Programming File Removed

The document outlines various MATLAB programs for plotting and simulating electrical and mechanical systems. It includes tasks such as plotting voltage and current, simulating R-L-C circuits, and solving differential equations using Simulink. Each program specifies input and output requirements for the simulations and plots.

Uploaded by

arbazansari29a
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MATLABPROGRAMS:

1. Plot the voltage (v = 5sin wt) and current [i = 2sin(wt - phi)] flowing
through a circuit, on the common axis.

INPUT :

OUTPUT:

16
2. Plot the function [y = 3/(-0.3x+10) - 1] for a value of x from 0.1 to 60
on linear, semi-log and loglog axis.

INPUT:

OUTPUT:

17
3. Plot the decaying oscillations of a mechanical system which can be
represented as a function of independent variable time t=0s to 4π using
2-D and 3-D plots. x(t) = √t cos 2t and y(t) = √t sin 2t.

INPUT:

OUTPUT:

18
4. Solve following differential equation using Simulink. dy/dt = -10y + f(t),
where f(t) = 2 sin(4t) and initial condition y(0)=1.

INPUT :

OUTPUT:

19
5. Simulate a simple R–L–C series circuit supplied with step input and
study the time response with following parameters R=10 ohms, L=1mH,
C=100µF, V=100V. Assume initial conditions to be zero.
INPUT:

OUTPUT :

20
6. Study of voltage and current Relationship in a series R–L–C circuit.
INPUT :

OUTPUT:

21
7. Simulation of Single Phase Half Wave Rectifier with RL Load.
INPUT :

OUTPUT:

22
8. Simulation of Single Phase Half Wave Rectifier with RL Load with
freewheeling diode.
INPUT :

OUTPUT:

23
9. Simulation of Single Phase Full Wave Rectifier with Capacitive filter
and R and RL load

(A) R-Load
INPUT:

OUTPUT :

24
(B) RL-Load
INPUT:

OUTPUT:

25
QUESTION10 :
INPUT:

OUTPUT :

26

You might also like