Manjit Final PDF
Manjit Final PDF
Summer Entrepreneurship – II
(Industrial Training)
Report On
MATLAB
Submitted in Partial fulfillment of the requirements for
Bachelor of Technology
In
DEPARTMENT OF ELECTRICAL ENGINERRING
SUBMITTED BY
Name: -Manjit Kumar
Reg No.- 22103153906
Submitted to
Manjit Kumar
22103153906
Electrical Engineering
I'm Manjit Kumar, Reg no. 22103153906 Student of B.Tech (EE), 3rd year of
GOVERNMENT ENGINEERING COLLEGE, ARWAL Completed 6 Week Summer
internship from Desiznideaz on 30 January 2024.
During the mentioned period I learned about basics of MATLAB and completed my
Summer internship.
HOD OF E.E
(Deepak Kumar)
(External Examiner)
Internship Supervisor
Department of E.E
GEC, Arwal
ABSTRACT
Software training is one of the requirements to be fulfilled in order to
obtain the Bachelor’s Degree in Technology. Each student needs to do
software training in a recognized company of their respective domain.
The students are compulsory to the training for duration 1 month
which is intended for their exposure to the software industry. A well
planned, properly executed and evaluated software training helps a lot
in developing a professional attitude. It develops an awareness of
software approach to problem solving, based on a broad understanding
of processes. Besides software training build self confidence among
students and let students know the technical knowledge and
professionalism.
Introduction
History Of Matlab
Capabilities Of Matlab
Benefits of Matlab
Matlab Screen
Drawing Units
Syntax
Conclusion
INTRODUCTION TO MATLAB
1. High-level language
2. Interactive Environment
expertise.
Starting MATLAB
MATLAB SCREEN
After logging into your account, you can enter MATLAB by double-clicking on the
MATLAB shortcut icon 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 Command Window
• The Command History
• The Workspace
• The Current Directory
• The Help Browser
METHODS TO WORK IN MATLAB
DRAWING UNITS
SYNTAX
The MATLAB application is built around the MATLAB
programming language. Common usage of the MATLAB
application involves using the "Command Window" as an
interactive mathematical shell or executing text files containing
MATLAB code.
TYPES OF SYNTAX
Variables
Variables are defined using the assignment operator, =. MATLAB is a weakly typed
language because variables can be assigned without declaring their type, except if they
are to be treated as symbolic objects and that their type can change. Values can come
from constants, from computation involving values of other variables, or from theoutput
>> x = 17
x=
1
x =
7
>> x = 'hat'
x=
hat
>> y = 3*sin(x)
y =
-1.6097 3.0000
Vectors and matrices
The increment value can actually be left out of this syntax (along
with one of the colons), to use a default value of 1.
assigns to the variable named ari an array with the values 1,2,3,4 and
5, since the default value of 1 is used as the increment.
Indexing is one-based, which is the usual convention for matrices in
mathematics, unlike zero-based indexing commonly used in other
programming languages such as C, C++, and Java.
Matrices can be defined by separating the elements of a row with blank
space or comma and using a semicolon to terminate each row. The list of
elements should be surrounded by square brackets. Paraentheses () are
used to access elements and subarrays (they are also used to donate a
function argument list).
Structures
MATLAB supports structure data types. Since all variables in MATLAB are
arrays, a more adequate name is "structure array", where each element of
the array has the same field names. In addition, MATLAB supports dynamic
field names (field look-ups by name, field manipulations, etc.).
Functions
When creating a MATLAB function, the name of the file should match the
name of the first function in the file. Valid function names begin with an
alphabetic character, and can contain letters, numbers, or underscores.
Variables and functions are case sensitive.
Function handles
MATLAB supports elements of lambda calculus by introducing function
handles, or function references, which are implemented either in .m files or
anonymous/nested functions.
gbImage = imread('ecg.png');
redChannel(~binaryImage) = 255;
greenChannel(~binaryImage) = 0;
blueChannel(~binaryImage) = 0;
% Now recombine to form the output image.
object.method();
classdef Hello
methods
function greet(obj)
disp('Hello!')
end
end
end
GRAPHICS AND GRAPHICAL USER INTERFACE
x = 0:pi/100:2*pi;
y = sin(x);
plot(x,y)
[X,Y] = [X,Y] =
meshgrid(-10:0.25:10,-10:0.25:10);
meshgrid(-10:0.25:10,-10:0.25:10);
f = sinc(sqrt((X/pi).^2+
may increase your productivity and open up new avenues for your job.
……………………..