Programming for Electrical Engineers: MATLAB and Spice

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Programming for Electrical Engineers: MATLAB and Spice introduces beginning engineering students to programming in Matlab and Spice through engaged, problem-based learning and dedicated electrical and computer engineering content. The book draws its problems and examples specifically from electrical and computer engineering, covering such topics as circuit analysis, signal processing, and filter design. It teaches relevant computational techniques in the context of solving common problems in electrical and computer engineering, including mesh and nodal analysis, Fourier transforms, and phasor analysis.

Programming for Electrical Engineers: MATLAB and Spice is unique among MATLAB textbooks for its dual focus on introductory-level learning and discipline-specific content in electrical and computer engineering. No other textbook on the market currently targets this audience with the same attention to discipline-specific content and engaged learning practices. Although it is primarily an introduction to programming in MATLAB, the book also has a chapter on circuit simulation using Spice, and it includes materials required by ABET Accreditation reviews, such as information on ethics, professional development, and lifelong learning.

Author(s): James C. Squire, Julie Phillips Brown
Publisher: Academic Press
Year: 2020

Language: English
Pages: 288
City: London

Front-Matter_2021_Programming-for-Electrical-Engineers-MATLAB--and-Spice
PROGRAMMING FOR ELECTRICAL ENGINEERS
Copyright_2021_Programming-for-Electrical-Engineers-MATLAB--and-Spice
Copyright
Foreword_2021_Programming-for-Electrical-Engineers-MATLAB--and-Spice
FOREWORD
Acknowledgment_2021_Programming-for-Electrical-Engineers-MATLAB--and-Spice
ACKNOWLEDGMENT
Introduction_2021_Programming-for-Electrical-Engineers-MATLAB--and-Spice
INTRODUCTION
PURPOSE OF THIS TEXT
SOFTWARE FOR ELECTRICAL ENGINEERS
Why matlab and Spice?
FORMATTING CONVENTIONS
Introduction-to-matla_2021_Programming-for-Electrical-Engineers-MATLAB--and-
1 - INTRODUCTION TO MATLAB
OBJECTIVES
STARTING matlab AND THE WORKSPACE
USING matlab AS A CALCULATOR
VARIABLES
NAMING AND INSPECTING VARIABLES
PARENTHESES AND IMPLIED MULTIPLICATION
SPECIAL SYMBOLS: i, j, and π
FORMATTING NUMBERS
SCIENTIFIC NOTATION
EXPONENTIALS AND THEIR INVERSES: exp, ^, sqrt, log,log10
TRIG FUNCTIONS AND THEIR INVERSES
CREATING VECTORS
USE OF THE SEMICOLON
PLOTTING DATA
GETTING HELP
SAVING AND LOADING VARIABLES
KEYBOARD SHORTCUTS
COMMAND REVIEW
LAB PROBLEMS
2---matlab-as-A-Calcula_2021_Programming-for-Electrical-Engineers-MATLAB--an
2 - Matlab AS A CALCULATOR
OBJECTIVES
ROUNDING AND SEPARATING NUMBERS
VECTORS
CREATING VECTORS
WORKING WITH VECTORS
COMPLEX NUMBERS
VECTOR MATHEMATICS
STRINGS
MATRICES
CREATING MATRICES
CHANGING MATRIX VALUES
WORKING WITH MATRICES
SOLVING SIMULTANEOUS EQUATIONS USING MATRICES
COMMAND REVIEW
LAB PROBLEMS
3---matlab-Graphics_2021_Programming-for-Electrical-Engineers-MATLAB--and-Sp
3 - Matlab GRAPHICS
OBJECTIVES
TYPES OF PLOTS
LINE PLOT
LINE PLOTS WITH MULTIPLE LINES
SCATTER PLOTS
PLOTTING SCRIPTS
LAYERING PLOT COMMANDS USING hold()
BAR PLOTS
SUBPLOT
ADVANCED PLOT DECORATION
TEXT ANNOTATIONS
ADVANCED TEXT FORMATTING
THREE-DIMENSIONAL matlab PLOTS
COMMAND REVIEW
LAB PROBLEMS
4---matlab-Programmin_2021_Programming-for-Electrical-Engineers-MATLAB--and-
4 - Matlab PROGRAMMING
OBJECTIVES
WHY PROGRAM?
SCRIPTS
FUNCTIONS
FUNCTION ARGUMENTS
CREATING YOUR OWN FUNCTIONS
COMMENTING PROGRAMS
CREATING HELP
MORE COMPLEX FUNCTION EXAMPLES
SORTING
RELATIONAL EXPRESSIONS
LOGICAL OPERATORS
LOGICAL OPERATIONS ON VECTORS AND MATRICES
CONDITIONAL BRANCHING: if-end
CONDITIONAL BRANCHING: if-else-end
CONDITIONAL BRANCHING: if-elseif-else-end
CREATING STRINGS WITH EMBEDDED NUMBERS
COMMAND REVIEW
LAB PROBLEMS
5---Programming-II--Loop_2021_Programming-for-Electrical-Engineers-MATLAB--a
5 - PROGRAMMING II: LOOPING
OBJECTIVES
DISP
FOR-END LOOP
FOR-END LOOPS INDEXING VECTORS
NESTED LOOPS
USING NESTED LOOPS TO SEARCH FOR EXACT SOLUTIONS
USING NESTED LOOPS TO SEARCH FOR BEST SOLUTIONS
tic, toc
FUNCTIONS CALLING FUNCTIONS
break
MULTIPLE FUNCTIONS IN ONE M-FILE
while-end Loop
GROWING VERSUS PRE-ALLOCATING VECTORS
COMMAND REVIEW
LAB PROBLEMS
6---Spice_2021_Programming-for-Electrical-Engineers-MATLAB--and-Spice
6 - SPICE
OBJECTIVES
CIRCUIT SIMULATION
UTILITY
INSTALLING LTSPICE
STEPS IN SIMULATING
SCHEMATIC EDITOR
TYPES OF LTSPICE SIMULATIONS
DC SIMULATION WALKTHROUGH
TRANSIENT SIMULATION
AC SWEEP SIMULATION
ADVANCED TIP: USING NETS
COMMAND REVIEW
LAB PROBLEMS
Index_2021_Programming-for-Electrical-Engineers-MATLAB--and-Spice
Index
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
V
W
X
Y
Z