# Electrical Engineering Tutorial Blog

electricalenggtutorial.blogspot.com
The blog to help electrical engineers and students to learn electrical engineering topics.

## Methods To Improve The Calculation Speed Of MATLAB Programs - Part 2

2020-01-23 08:30
Improving Performance of the CodeMATLAB programs are interpreted. Hence large MATLAB programs will take a long time to execute. The power of MATLAB is realized with its extensive set of libr… Read More

## Methods To Improve The Calculation Speed Of MATLAB Programs - Part 1

2017-02-22 07:56
IntroductionSpeed of execution of code is an important issue for all coders. In this lecture we will discuss some programming practices to improve the performance of MATLAB code.Analyzing Pe… Read More

## User Defined Functions In MATLAB Part-4

2017-01-16 06:35
Function Function, Local Function, and Private FunctionFunction FunctionA MATLAB function that accepts another function as an input is called a function function. Function handles are used f… Read More

## Anonymous And Inline Functions In MATLAB

2017-01-04 08:48
Anonymous FunctionsMATLAB's anonymous functions provide an easy way to specify a function. An anonymous function is a function defined without using a separate function file. It is a MATLAB… Read More

## User Defined Functions In MATLAB Part -2

2016-12-26 11:23
Previous post we discussed what is a user defined function in MATLAB. This lecture we will discuss how to define a function and how to call the function in a script.Components of a function… Read More

## User Defined Functions In MATLAB - Part 1

2016-12-01 09:32
User-defined functions are similar to the MATLAB predefined functions. A function is a MATLAB program that can accept inputs and produce outputs. A function can be called or executed by anot… Read More

## MATLAB Programming - Loop Control Part 2

2016-11-22 06:17
In this lecture we will discuss more about Loop control. - Switch – case commands - Nested lops - break command - continue commandswitch - case CommandThere is no conditional statement… Read More

2016-11-09 06:43

## MATLAB Script - Loop Control Part 1

2016-10-26 08:58
In this lecture we will discuss about another flow control method – Loop control. A loop control is used to execute a set of commands repeatedly The set of commands is called the body… Read More

## Conditional Control In MATLAB Scripts With Examples

2016-10-08 17:11
In this lecture we discuss more about programming in MATLAB. One main section in programming is flow control. There are many flow control commands in MATLAB. In this lecture we discuss the c… Read More

## MATLAB Scripts - Examples With Electrical Engineering Applications

2016-09-21 07:51
›This lecture we will practice some Basic MATLAB Scripts.›We will start with simple scripts and will discuss some electrical engineering applications. Program to calculat… Read More

## Introduction To MATLAB Scripts

2016-09-10 18:10
MATLAB Script or programs are sequences of MATLAB commands saved in plain text files. When you type the name of the script file at the MATLAB prompt the commands in the script file are execu… Read More

## MATLAB Programming Tips 2 - Input And Output Commands

2016-09-04 05:50
In this lecture we will review some common input and output commands in MATLAB. These commands are discussed in detail in previous lectures.For detailed Lectures on Input and Output commands… Read More

## MATLAB Programming Tips Part 1

2016-08-28 11:41
MATLAB program (functions and scripts) are stored as script file(.m files). This type of file contains MATLAB commands, so running it is equivalent to typing all the commands—one… Read More

## Polynomials And Curve Fitting In MATLAB

2016-08-23 08:58
MATLAB provides a number of functions for the manipulation of polynomials. Polynomials are defined in MATLAB as row vectors made up of the coefficients of the polynomial, whose dimension is… Read More

## Working With Excel Files In MATLAB - Part 2

2016-08-05 11:58
Read part 1 here. We will discuss few more functions to deal with Excel files.xlswrite ( ) – Write to Microsoft Excel spreadsheet filexlswrite is a simple function to write data to an… Read More

## Working With Excel Files In MATLAB - Part 1

2016-07-22 11:12
MATLAB have many builtin functions to work with Excel files. In this post, we will discuss some of the common functions to work with Excel files.  It is easy to interact with an excel f… Read More

## Working With Text Files In MATLAB - Part 2

2016-07-15 09:22
In part one we discussed about basic functions to deal with text files. Now we will discuss more function to read from and write to different types of text files.csvwrite( )  - Write co… Read More

## Working With Text Files In MATLAB - Part 1

2016-07-02 04:48
MATLAB can import text files both interactively and programmatically. Import Tool used to import data interactively. The Import Tool supports text files, including those with the extensions… Read More

## The Load And Save Functions

2016-06-25 12:07
Load( ) - Load data from MAT-file into workspaceThe variables in the workspace are saved by default as matlab.mat file. The load command loads these variables to the workspace. If the variab… Read More

## The Load And Save Funtions

2016-06-24 11:46
Load( ) - Load data from MAT-file into workspaceThe variables in the workspace are saved by default as matlab.mat file. The load command loads these variables to the workspace. If the variab… Read More

## Working With Files In MATLAB - Part 4

2016-06-17 16:41
fseek( ) - Set file position indicatorfseek is the function used to set the position indicator to the byte with the specified Offset relative to the given Origin.S = fseek(FID, Offset, Origi… Read More

## Working With Files In MATLAB - Part 3

2016-06-11 08:18
fwrite( ) - Write binary data to filefwrite function is used to  write the elements of matrix A to the specified file. The data are written in column order. After write action the point… Read More

## Working With Files In MATLAB- Part 2

2016-06-04 07:27
In the last post we discussed how open and close the external files by MATLAB. In this post we will discuss some low level read and write functions to work with external files. Read Part 1 H… Read More

## Working With Files In MATLAB - Part 1

2016-05-26 12:41
In this post we will discuss some basic functions to work with external files using MATLAB. Matlab can interact with many popular file fromats. The common file formats are Excel® spread… Read More

## Data Display And Output Commands In MATLAB

2016-05-17 06:07
disp( )'disp' is the basic command used to display value of a variable or a string. It can display value of only one variable or a string at a time. It can’t display multiple values in… Read More

## Basic Data Input Commands In MATLAB

2016-05-10 13:13
We have discussed about different types of variables in Matlab and different ways to assign data to them. Now we will discuss how to display the data stored in the variable to the command wi… Read More

## Data Classes In MATLAB

2016-04-15 11:55
Fundamental Data TypesAll data in MATLAB is in the form of a matrix or array. But the data that we use in MATLAB software are of different classes. We can make matrices and arrays of any typ… Read More

## 3D Plots In MATLAB

2016-04-07 11:12
MATLAB provides a lot of graphics to make quick 3-D plots. In this post we will discuss some of these functions.The common 3D plot functions are:·      … Read More

## More On Plotting - Part 3

2016-03-31 14:32
ezplotezplot   is an easy to use function plotter. The limits of the plot will be automatically set by the MATLAB when you run the command.>> ezplot('sin(t)')You can set the… Read More

## Plotting In MATLAB - Part 2

2016-03-19 07:59
Read Part 1 HereControlling Axis PropertiesThe limits and scale of a plot will be automatically set by the MATLAB when you run a plot command. There are commands defined to change this defau… Read More

## Graphics In MATLAB - Basics

2016-03-12 08:02
IntroductionGraphical representation of problems is very important in engineering problem solving. Plotting the results usually leads to additional insight into the nature of the problem.&nb&hell…Read More

## Managing Strings In MATLAB

2016-03-05 09:54
IntroductionA string is an array of characters. A character string can be created in MATLAB using single quotes ('). The assignment operator is used to assign the string to a variable. For e… Read More

## Operations On Matrices And Arrays - MATLAB

2016-02-20 13:19
Arithmetic operations of scalars are discussed in previous post. Now we will discuss about operations of matrices. All the basic operations on matrices, addition, subtraction, multiplication… Read More

## Indexing And Extracting A Sub-Matrix - MATLAB

2016-02-13 08:59
Array IndexingEach element in a array (matrix) has an address called index. Index of an element is its position in the array. The index for nth element in a vector x, is x(n). There are two… Read More

## Arrays And Matrices In MATLAB

2016-02-06 14:09
—MATLAB treats all variables as matrices. For our purposes a matrix can be thought of as an array, in fact, that is how it is stored. —Vectors are special forms of matrices and co… Read More

## MATLAB - Variables And Operators

2016-01-29 13:39
VariablesLike most programming languages, MATLAB allows you to create variables, and assign values to them. Variables are used to represent all data types including scalars, arrays, mat… Read More

## Familiarize MATLAB Work Environment

2016-01-22 14:06
(Figure courtesy: https://www.cs.uic.edu/~jbell/CourseNotes/Matlab/Introduction.html)Figure 1. A typical MATLAB DesktopThe MATLAB Work Environment or MATALB Desktop is the main Matlab… Read More

## Capacitor - An Introduction

2016-01-19 17:25
The ability to store energy in the form of electric charge is called capacitance. A device designed to possess capacitance is called a capacitor. A capacitor is a two terminal device used to… Read More

## Anatomy Of A Technical Drawing

2016-01-16 16:06
Different types of electrical drawings are discussed here. Now we will check what are the main parts of a technical drawing. A generic engineering drawing (Blueprint) can be divided int… Read More

## Basic Electricity Quiz 1

2016-01-14 14:43
1. Resistance of a material not depending on    A. Length    B. Cross-section    C. Density    D. None of these2. The resistance b… Read More

## Electromagnetic Induction And Faraday's Laws

2016-01-11 08:42
Electromagnetic InductionElectromagnetic induction is the process by which an e.m.f is induced in a conductor whenever there is change in the magnetic flux linking the conductor. This phenom… Read More

## MATLAB - The Language Of Technical Computing

2016-01-08 07:36
MATLAB®MATLAB® is a high-level language and interactive environment for numerical computation, visualization, and programming from Mathworks Inc. MATLAB is an abbreviation for "MATri… Read More

## Economic Aspects Of Power Generation And Distribution

2016-01-06 04:35
Generation and distribution of electrical energy is generally treated as a service to the people and at the same time it is a commercial activity.Factors Affecting Cost of Generation: C… Read More

## Hydroelectric Power Plants

2016-01-03 05:55
IntroductionHydroelectric power plants convert energy available from flowing water into electricity. These power stations are suitable where water resources with sufficient head are availabl… Read More

## Smart Grid - The Most Trending In 2015

2015-12-31 12:21
IntroductionSmart Grid generally refers to a class of technology being used to bring utility electricity delivery systems into the 21st century, using computer-based remote control and autom… Read More

## Earthing - Basics

2015-12-30 11:34
Earthing is a connection which connects parts of the electric circuit with the ground or earth. Regulations for earthing system vary considerably among countries and among differen… Read More

## Comparison Between Magnetic And Electrical Circuits

2015-12-26 18:33
When we compare the Magnetic and Electrical circuits, M.M.F is analogous to E.M.F., flux to current and reluctance to resistance.In electric circuit as per Ohm’s Law:    &nbs&hell…Read More

## Types Of DC Generator And Their Characteristics

2015-12-24 07:34
Types of DC MotorD.C. generators are classified according to the method of their field excitation. These groupings are:Permanent magnet dc generators, where a permanent magnet is used… Read More

## Resistance - Series And Parallel Connection

2015-12-24 05:09
Series and parallel ConnectionsWhen several devices are connected end to end in such a way that there is only one path for the current to flow and so, the same current flows through each, th… Read More

## Types Of Electrical Drawings

2015-12-22 11:11
Electrical drawings generally fall into four broad categories:PlansSchedulesDiagramsDetails and/or ElevationsWe will examine each or these categories briefly and determine their place in the… Read More

## Energy And Power In An Electric Circuit

2015-12-19 14:28
Energy is the ability to do work.Power is the rate at which energy is used.Power, symbolized by P, is a certain amount of energy used in a certain length of time, expressed as… Read More

## DC Generator Operating Principle - E.m.f. Equation

2015-12-18 16:03
The basic principle of a DC machine is Faraday's laws of electromagnetic induction. According to these law, when an conductor moves in a magnetic field it cuts magnetic lines force, due… Read More

## Magnetism

2015-12-17 13:58
IntroductionAny body which posses the power of attracting pieces of iron (magnetic material) is known as a magnet and the property of the body by virtue of which this attraction takes place… Read More

2015-12-16 11:28
In the present age, electricity is essential for everyone and everything.  Whether industrial, commercial, agricultural or domestic, it is considered a most obedient and faithful servan… Read More

## Generation Of Electrical Power

2015-12-16 11:27
IntroductionThe most common method of generating electrical energy is by means of electric machines known as “Generators”.  Generators used to generate A.C. electrical power… Read More

## Ohm's Law

2015-12-16 11:25
Ohm's law applies to electric conduction through conductors and may be stated as follows:-‘The ratio of potential difference (V) between any two points on a conductor to the current (I… Read More

## Transformer - Introduction

2015-12-15 09:01
Transformer is a static electrical device which transforms voltage/current and transfers power with out change in frequency. The basic principle of transformer is the electromagnetic inducti… Read More

## Characteristics Of AC

2015-12-14 12:42
Alternating voltage may be generated by rotating a coil in a magnetic field or by rotating a magnetic field within a stationary coil. The value of the voltage generated depends, in-each… Read More

## DC Machines - Introduction

2015-12-14 12:03
Direct Current machines are energy transfer devices.These machines can function as either a motor or a generatorTwo related physical principles underlie the operation of generators and motor… Read More

## What Is Voltage?

2015-12-14 12:03
The Voltage is the difference in electric potential between those two points. The difference in voltage measured when moving from point A to point B is equal to the work which woul… Read More

## What Is Resistance

2015-12-14 12:03
Resistance:Resistance may be defined as the property of a substance due to which it opposes (or restricts) the flow of electricity (or electrons) through it.A resistor is a two-terminal elec… Read More

# Share the post

Electrical Engineering Tutorial

×