Programming with MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach"
By Peter Kattan
4.5/5
()
About this ebook
This concise article of thirty pages takes you on a short tour on how to write small programs using MATLAB. The presentation covers both script files and function files. Several programming constructs are illustrated with simple examples. Loops are discussed using the For and While loops, while decisions are implemented using the If Else and Switch Case constructs. At the end of the presentation, a simple example is presented to show symbolic computing with the If Else statement. The presentation is made in the form of solved examples showing the exact MATLAB commands used and the output. At the end of the article, there are about eleven unsolved exercises for students to practice. The solutions to all the exercises are also provided. This article is taken form the bestselling book “MATLAB for Beginners: A Gentle Approach.” The material presented is not intended to be comprehensive or exhaustive but merely an introduction to programming using MATLAB.
Read more from Peter Kattan
Solving Equations with MATLAB (Taken from the Book "MATLAB for Beginners: A Gentle Approach") Rating: 3 out of 5 stars3/5A Brief Introduction to MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach" Rating: 3 out of 5 stars3/5Graphs with MATLAB (Taken from "MATLAB for Beginners: A Gentle Approach") Rating: 4 out of 5 stars4/5Kindergarten Mazes: Simple Mazes for Kids Rating: 0 out of 5 stars0 ratingsMatrices with MATLAB (Taken from "MATLAB for Beginners: A Gentle Approach") Rating: 3 out of 5 stars3/5MATLAB for Beginners: A Gentle Approach - Revised Edition Rating: 0 out of 5 stars0 ratingsCorridors of Time: Poetic Reflections on the Tapestry of Time Rating: 0 out of 5 stars0 ratings
Related to Programming with MATLAB
Related ebooks
MATLAB for Beginners: A Gentle Approach - Revised Edition Rating: 3 out of 5 stars3/5Matlab: A Practical Introduction to Programming and Problem Solving Rating: 4 out of 5 stars4/5Top Numerical Methods With Matlab For Beginners! Rating: 0 out of 5 stars0 ratingsDigital Modulations using Matlab Rating: 4 out of 5 stars4/5Computer-Controlled Systems: Theory and Design, Third Edition Rating: 3 out of 5 stars3/5Mathematica by Example Rating: 5 out of 5 stars5/5The Mathematica Handbook Rating: 5 out of 5 stars5/5Beginning MATLAB and Simulink: From Novice to Professional Rating: 0 out of 5 stars0 ratingsKronecker Products and Matrix Calculus with Applications Rating: 0 out of 5 stars0 ratingsIntroduction to Partial Differential Equations: From Fourier Series to Boundary-Value Problems Rating: 3 out of 5 stars3/5MATLAB for Neuroscientists: An Introduction to Scientific Computing in MATLAB Rating: 5 out of 5 stars5/5Principles of Control Engineering Rating: 0 out of 5 stars0 ratingsMATLAB® by Example: Programming Basics Rating: 4 out of 5 stars4/5Getting Started with Simulink Rating: 5 out of 5 stars5/5Matrix Algorithms in MATLAB Rating: 5 out of 5 stars5/5Numerical Methods for Scientists and Engineers Rating: 4 out of 5 stars4/5Numerical Methods: Using MATLAB Rating: 3 out of 5 stars3/5Numerical Linear Algebra with Applications: Using MATLAB Rating: 4 out of 5 stars4/5Arduino meets MATLAB: Interfacing, Programs and Simulink Rating: 0 out of 5 stars0 ratingsVisual Media Processing Using MATLAB Beginner's Guide Rating: 0 out of 5 stars0 ratingsDigital and Kalman Filtering: An Introduction to Discrete-Time Filtering and Optimum Linear Estimation, Second Edition Rating: 0 out of 5 stars0 ratingsSimulation of Digital Communication Systems Using Matlab Rating: 4 out of 5 stars4/5Essentials of Scientific Computing: Numerical Methods for Science and Engineering Rating: 0 out of 5 stars0 ratingsMATLAB Demystified Rating: 5 out of 5 stars5/5Applied Partial Differential Equations Rating: 5 out of 5 stars5/5MATLAB Programming for Biomedical Engineers and Scientists Rating: 4 out of 5 stars4/5Feedback Control Theory Rating: 5 out of 5 stars5/5Introduction to Linear Control Systems Rating: 0 out of 5 stars0 ratingsCalculus of Variations and Optimal Control Theory: A Concise Introduction Rating: 5 out of 5 stars5/5
Mathematics For You
My Best Mathematical and Logic Puzzles Rating: 5 out of 5 stars5/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5Calculus Made Easy Rating: 4 out of 5 stars4/5Mental Math Secrets - How To Be a Human Calculator Rating: 5 out of 5 stars5/5Basic Math & Pre-Algebra For Dummies Rating: 4 out of 5 stars4/5The Everything Everyday Math Book: From Tipping to Taxes, All the Real-World, Everyday Math Skills You Need Rating: 5 out of 5 stars5/5Real Estate by the Numbers: A Complete Reference Guide to Deal Analysis Rating: 0 out of 5 stars0 ratingsAlgebra - The Very Basics Rating: 5 out of 5 stars5/5Quantum Physics for Beginners Rating: 4 out of 5 stars4/5The Thirteen Books of the Elements, Vol. 1 Rating: 0 out of 5 stars0 ratingsThe Little Book of Mathematical Principles, Theories & Things Rating: 3 out of 5 stars3/5The Everything Guide to Algebra: A Step-by-Step Guide to the Basics of Algebra - in Plain English! Rating: 4 out of 5 stars4/5Logicomix: An epic search for truth Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5Game Theory: A Simple Introduction Rating: 4 out of 5 stars4/5Flatland Rating: 4 out of 5 stars4/5The Golden Ratio: The Divine Beauty of Mathematics Rating: 5 out of 5 stars5/5See Ya Later Calculator: Simple Math Tricks You Can Do in Your Head Rating: 4 out of 5 stars4/5Algebra I Workbook For Dummies Rating: 3 out of 5 stars3/5Algebra I For Dummies Rating: 4 out of 5 stars4/5Relativity: The special and the general theory Rating: 5 out of 5 stars5/5smarTEST Prep: Guide to LSAT Logic Games Rating: 5 out of 5 stars5/5The Math of Life and Death: 7 Mathematical Principles That Shape Our Lives Rating: 4 out of 5 stars4/5Basic Math Notes Rating: 5 out of 5 stars5/5Is God a Mathematician? Rating: 4 out of 5 stars4/5ACT Math & Science Prep: Includes 500+ Practice Questions Rating: 3 out of 5 stars3/5
Reviews for Programming with MATLAB
3 ratings0 reviews
Book preview
Programming with MATLAB - Peter Kattan
Programming with MATLAB
Taken from the Book
MATLAB for Beginners: A Gentle Approach
Peter I. Kattan
Petra Books
www.PetraBooks.com
Copyright
Peter I. Kattan, PhD
Correspondence about this book may be sent to the author at one of the following two email addresses:
pkattan@alumni.lsu.edu
pkattan@tedata.net.jo
Programming with MATLAB. Taken from the Book MATLAB for Beginners: A Gentle Approach
.
Written by Peter I. Kattan.
Smashwords Edition.
All rights reserved. No part of this book may be copied or reproduced without written permission of the author or publisher.
© 2011 Peter I. Kattan
Preface
This concise article of thirty pages takes you on a short tour on how to write small programs using MATLAB. The presentation covers both script files and function files. Several programming constructs are illustrated with simple examples. Loops are discussed using the For and While loops, while decisions are implemented using the If Else and Switch Case constructs. At the end of the presentation, a simple example is presented to show symbolic computing with the If Else statement.
The presentation is made in the form of solved examples showing the exact MATLAB commands used and the output. At the end of the article, there are about eleven unsolved exercises for students to practice. The solutions to all the exercises are also provided. This article is taken form the bestselling book MATLAB for Beginners: A Gentle Approach.
The material presented is not intended to be comprehensive or exhaustive but merely an introduction to programming using MATLAB.
Table of Contents:
Programming
Exercises
Solutions to Exercises
References
MATLAB Books
Installation of MATLAB