Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Programming with MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach"
Programming with MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach"
Programming with MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach"
Ebook40 pages24 minutes

Programming with MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach"

Rating: 4.5 out of 5 stars

4.5/5

()

Read preview

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.

LanguageEnglish
PublisherPeter Kattan
Release dateAug 16, 2012
ISBN9781301517800
Programming with MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach"

Read more from Peter Kattan

Related to Programming with MATLAB

Related ebooks

Mathematics For You

View More

Related articles

Reviews for Programming with MATLAB

Rating: 4.666666666666667 out of 5 stars
4.5/5

3 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    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

    Enjoying the preview?
    Page 1 of 1