Programming for Electrical Engineers
MATLAB and Spice
- 1st Edition - July 8, 2020
- Authors: James C. Squire, Julie Phillips Brown
- Language: English
- Paperback ISBN:9 7 8 - 0 - 1 2 - 8 2 1 5 0 2 - 9
- eBook ISBN:9 7 8 - 0 - 1 2 - 8 2 1 5 0 3 - 6
Programming for Electrical Engineers: MATLAB and Spice introduces beginning engineering students to programming in Matlab and Spice through engaged, problem-based learning… Read more

Purchase options
Institutional subscription on ScienceDirect
Request a sales quoteProgramming 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.
- Discipline-specific: Introduces Electrical and Computer Engineering-specific topics, such as phasor analysis and complex exponentials, that are not covered in generic engineering Matlab texts
- Accessible: Pedagogically appropriate for freshmen and sophomores with little or no prior programming experience
- Scaffolded content: Addresses both script and functions but emphasizes the use of functions since scripts with non-scoped variables are less-commonly encountered after introductory courses
- Problem-centric: Introduces MATLAB commands as needed to solve progressively more complex EE/ECE-specific problems, and includes over 100 embedded, in-chapter questions to check comprehension in stages and support active learning exercises in the classroom
- Enrichment callouts: "Pro Tip" callouts cover common ABET topics, such as ethics and professional development, and "Digging Deeper" callouts provide optional, more detailed material for interested students
First and second year engineering students in Electrical and Computer Engineering (EE/CpE/ECE) programs / professionals across all technical areas interested in teaching themselves MATLAB programming
- Cover image
- Title page
- Table of Contents
- Copyright
- Foreword
- Acknowledgment
- Introduction
- Introduction to matlab
- 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 Calculator
- 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
- Types of Plots
- Line Plot
- Axis Labels and Titles
- 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 Programming
- 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: Looping
- 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
- 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
- No. of pages: 288
- Language: English
- Edition: 1
- Published: July 8, 2020
- Imprint: Academic Press
- Paperback ISBN: 9780128215029
- eBook ISBN: 9780128215036
JS
James C. Squire
JB