FinalReport
FinalReport
Internship Report
Submitted By
MR. Kamble
CHAVAN UDAY
Dhiraj PRAKASH
Sunil
PROF.K.N.KAZI
M Patil
Roll no:- 17
07
2024-2025
S. B. Patil College of Engineering,
Indapur-Pune 413106
CERTIFICATE
bonafide record of the work carried out by them towards the partial fulfilment of therequirements
of curriculum of SAVITRIBAI PHULE PUNE UNIVERSITY, PUNE for the Third Year in
(Prof.K.S.Kazi)
(Prof.M.S.Patil) (Prof. T.V. Deokar ) (Dr. S. T. Shirkande)
Place : Indapur
Date:
17-04-2025
Acknowlegement
I would like to express my sincere gratitude to Varad Gursalkar sir, Matlab Internship, for their
continuous support and guidance throughout the course of this project. Their insights and encouragement
greatly contributed to the successful implementation of this work using MATLAB.
I am also thankful to Proazure Technologies Pvt. Ltd for providing the necessary resources and a
conducive environment for conducting this research. Special thanks to my peers and colleagues who
offered valuable suggestions and assistance during the development and testing phases.
Lastly, I would like to acknowledge the creators and maintainers of MATLAB and its extensive
documentation, which proved to be an indispensable tool throughout this project.
Mr.. Dhiraj
Mr Chavan Uday
Sunil Prakash
Kamble
Third Year Electrical Engineering
Roll no:-17
no:-07
Matlab Internship Report
NAME:- ChavanSunil
:- Dhiraj Uday Prakash
Kamble
NAME OF INDUSTRY:-PROAZURE SOFTWARE
:-Rajavi Technology SOLUTIONS
PVT LTD
PVT.LTD
72328392D
PRN:- 72328392D
INDEX
INTRODUCTION
The tutorials are independent of the rest of the document. The primarily objective is to help you
learn quickly the rst steps. The emphasis here is learning by doing . Therefore, the best way to
learn is by trying it yourself. Working through the examples will give you a feel for the way that
MATLAB operates. In this introduction we will describe how MATLAB handles simple numerical
expressions and mathematical formulas. The name MATLAB stands for MATrix LABoratory.
MATLAB was written originally to provide easy access to matrix software developed by the
LINPACK (linear system package) and EISPACK (Eigen system package) projects. MATLAB
[1] is a high-performance language for technical computing. It integrates computation,
visualization, and programming environment. Furthermore, MATLAB is a modern programming
language environment: it has sophisticated data structures, contains built-in editing and debugging
tools, and supports object-oriented programming. These factors make MATLAB an excellent tool
for teaching and research. MATLAB has many advantages compared to conventional computer
languages (e.g., C, FORTRAN) for solving technical problems. MATLAB is an interactive system
whose basic data element is an array that does not require dimensioning. The software package
has been commercially available since 1984 and is now considered as a standard tool at most
universities and industries worldwide.
CHAPTER NO:-02
OBJECTIVES
STARTING MATLAB
After logging into your account, you can enter MATLAB by double-clicking on the MATLAB
shortcut icon (MATLAB 7.0.4) on your Windows desktop. When you start MATLAB, a special
window called the MATLAB desktop appears. The desktop is a window that contains other
windows. The major tools within or accessible from the desktop are:
• The WORKSPACE
BASICS OF MATLAB
>> 1+2*3
ans = 7
For example,
>> x = expression
• Error messages
If we enter an expression incorrectly, MATLAB will return an error message. For example, in
the following, we left out the multiplication sign, *, in the following expression
>> x = 10;
>> 5x ???
5x
|
Error: Unexpected MATLAB expression.
CHAPTER NO:05
BASIC PLOTTING
The basic MATLAB graphing procedure, for example in 2D, is to take a vector of x-
coordinates, x = (x1, . . . , xN ), and a vector of y-coordinates, y = (y1, . . . , yN ), locate the
points (xi, yi), with i = 1, 2, . . . , n and then join them by straight lines. You need to prepare x
and y in an identical array form; namely, x and y are both row arrays or column arrays of the
same length.
The MATLAB command to plot a graph is plot(x,y). The vectors x = (1, 2, 3, 4, 5, 6) and y = (3,
−1, 2, 4, 5, 1) produce the picture shown in Figure 2.1.
>> x = [1 2 3 4 5 6];
>> y = [3 -1 2 4 5 1];
>> plot(x,y)
>> x = 0:pi/100:2*pi;
>> y = sin(x);
>> plot(x,y).
• Adding titles, axis labels, and annotations
MATLAB enables you to add axis labels and titles. For example, using the graph
from the previous example, add an x- and y-axis labels.
Now label the axes and add a title. The character \pi creates the symbol π.
An example of 2D plot is shown in Figure.
The color of a single curve is, by default, blue, but other colors are possible. The desired
color is indicated by a third argument. For example, red is selected by plot(x,y,’r’).
Note the single quotes, ’ ’, around r.
Multiple (x, y) pairs arguments create multiple graphs with a single call to plot. For
example, these statements plot three related functions of x: y1 = 2 cos(x), y2 =
cos(x), and y3
=
0.5 ∗ cos(x), in the interval 0 ≤ x ≤ 2π.
>> x = 0:pi/100:2*pi;
>> y1 = 2*cos(x);
>> y2 = cos(x);
>> y3 = 0.5*cos(x);
>> plot(x,y1,’--’,x,y2,’-’,x,y3,’:’)
>> xlabel(’0 \leq x \leq 2\pi’)
>> ylabel(’Cosine functions’)
>> legend(’2*cos(x)’,’cos(x)’,’0.5*cos(x)’)
The result of multiple data sets in one graph plot is shown in Figure.
MATLAB PROGRAMMING
So far in these lab sessions, all the commands were executed in the Command Window.
The problem is that the commands entered in the Command Window cannot be saved and
executed again for several times. Therefore, a different way of executing repeatedly
commands with MATLAB is:
If needed, corrections or changes can be made to the commands in the file. The files that
are used for this purpose are called script files or scripts for short.
• M-File Scripts
• M-File Functions
For example:
x =
0:pi/100:2*
pi; y1 =
2*cos(x);
y2 = cos(x);
y3 = 0.5*cos(x);
plot(x,y1,’--’,x,y2,’-’,x,y3,’:’)
xlabel(’0 \leq x \leq
2\pi’) ylabel(’Cosine
functions’)
legend(’2*cos(x)’,’cos(x)’,’0.5*c
os( x)’) title(’Typical
example of multiple
plots’) axis([0 2*pi -3 3])
CHAPTER NO:-07
• if ... end
if expression
statements
end
1. discr = b*b
- 4*a*c; if
discr < 0
disp(’Warning: discriminant is negative, roots are
imaginary’);
end
CHAPTER NO:-08
SIMULINK
With Simulink, you can create block diagrams to represent complex systems without writing
extensive code. It integrates seamlessly with MATLAB, allowing users to combine
mathematical computations with graphical model.
Fig: AC Voltage Source Pulse Generator
An AC power pulse generator is a device or circuit that generates pulsed AC signals. Instead of
providing a continuous sinusoidal AC waveform (like a regular power outlet), it delivers bursts
or pulses of AC voltage for specific durations and intervals.
Fig: Three Phase Programmable Voltage Source
A three-phase programmable voltage source is a system or device that allows you to generate
and control three-phase AC voltages with precise control over parameters such as:
• Voltage amplitude (line and phase voltage)
• Frequency (Hz)
A Full Wave Rectifier is an electrical circuit used to convert an alternating current (AC) input
into a direct current (DC) output. Unlike a half-wave rectifier that uses only one half of the
input waveform, a full-wave rectifier uses both halves of the AC cycle, making it more efficient.
CHAPTER NO:-09
CONCLUSION
My internship experience involving MATLAB has been both enriching and educational.
Over the course of the internship, I gained hands-on experience with MATLAB’s powerful
features for data analysis, modeling, and simulation. I developed practical skills in script
writing, algorithm development, and working with toolboxes such as Simulink, Signal
Processing, and Image Processing.
This internship allowed me to bridge the gap between academic knowledge and real-world
applications. It also helped improve my problem-solving abilities, logical thinking, and
understanding of how MATLAB can be used in various industries including engineering,
research, and data science.
Overall, the internship has been a valuable step toward my professional development, and I
:- 72328392D
am confident that the skills I acquired will benefit me in future academic and career pursuits.