Graphs with MATLAB (Taken from "MATLAB for Beginners: A Gentle Approach")
By Peter Kattan
4/5
()
About this ebook
This concise article of thirty pages takes you on a short tour on how to plot graphs using MATLAB. The presentation covers both two-dimensional and three-dimensional graphs. It is shown first how to plot a simple two-dimensional curve between two x and y vectors. This is followed by different commands to control the appearance of this curve – using color, curve type, legend, title, etc. Then it is shown how to plot two curves on the same graphs, followed by plotting four graphs on the same paper. Finally, different types of three-dimensional graphs are plotted including surface, mesh, and contour lines. 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.”
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/5Programming with MATLAB: Taken From the Book "MATLAB for Beginners: A Gentle Approach" Rating: 5 out of 5 stars5/5Matrices with MATLAB (Taken from "MATLAB for Beginners: A Gentle Approach") Rating: 3 out of 5 stars3/5Kindergarten Mazes: Simple Mazes for Kids Rating: 0 out of 5 stars0 ratingsA Brief Introduction to MATLAB: Taken From the Book "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 Graphs with MATLAB (Taken from "MATLAB for Beginners
Related ebooks
MATLAB for Beginners: A Gentle Approach - Revised Edition Rating: 3 out of 5 stars3/5Top Numerical Methods With Matlab For Beginners! Rating: 0 out of 5 stars0 ratingsSpecial Matrices and Their Applications in Numerical Mathematics: Second Edition Rating: 5 out of 5 stars5/5Matrix Theory and Applications for Scientists and Engineers Rating: 0 out of 5 stars0 ratingsKronecker Products and Matrix Calculus with Applications Rating: 0 out of 5 stars0 ratingsNumerical Analysis II Essentials Rating: 0 out of 5 stars0 ratingsThe Mathematica Handbook Rating: 5 out of 5 stars5/5Digital Spectral Analysis MATLAB® Software User Guide Rating: 0 out of 5 stars0 ratingsLinear Algebra and Linear Operators in Engineering: With Applications in Mathematica® Rating: 0 out of 5 stars0 ratingsElements of Tensor Calculus Rating: 4 out of 5 stars4/5MATLAB® by Example: Programming Basics Rating: 4 out of 5 stars4/5Matrix Algorithms in MATLAB Rating: 5 out of 5 stars5/5Getting Started with Simulink Rating: 5 out of 5 stars5/5Numerical Linear Algebra with Applications: Using MATLAB Rating: 4 out of 5 stars4/5Numerical Methods: Using MATLAB Rating: 3 out of 5 stars3/5Matlab: A Practical Introduction to Programming and Problem Solving Rating: 4 out of 5 stars4/5Numerical Methods for Scientists and Engineers Rating: 4 out of 5 stars4/5Applied Partial Differential Equations Rating: 5 out of 5 stars5/5Arduino meets MATLAB: Interfacing, Programs and Simulink Rating: 0 out of 5 stars0 ratingsLaplace Transforms and Their Applications to Differential Equations Rating: 5 out of 5 stars5/5Visual Media Processing Using MATLAB Beginner's Guide Rating: 0 out of 5 stars0 ratingsMATLAB Programming for Biomedical Engineers and Scientists Rating: 4 out of 5 stars4/5Computer-Controlled Systems: Theory and Design, Third Edition Rating: 3 out of 5 stars3/5GPU Programming in MATLAB Rating: 1 out of 5 stars1/5Mathematica by Example Rating: 5 out of 5 stars5/5Finite Element Methods Rating: 0 out of 5 stars0 ratingsAnalysis of Numerical Methods Rating: 3 out of 5 stars3/5Computational Modeling for Fluid Flow and Interfacial Transport Rating: 0 out of 5 stars0 ratingsCalculus of Variations and Optimal Control Theory: A Concise Introduction Rating: 5 out of 5 stars5/5
Reviews for Graphs with MATLAB (Taken from "MATLAB for Beginners
2 ratings0 reviews
Book preview
Graphs with MATLAB (Taken from "MATLAB for Beginners - Peter Kattan
Graphs 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 article may be sent to the author at one of the following two email addresses:
pkattan@alumni.lsu.edu
pkattan@tedata.net.jo
Graphs with MATLAB. Taken from the Book MATLAB for Beginners: A Gentle Approach
.
Written by Peter I. Kattan.
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
Smashwords Edition
Preface
This concise article of thirty pages takes you on a short tour on how to plot graphs using MATLAB. The presentation covers both two-dimensional and three-dimensional graphs. It is shown first how to plot a simple two-dimensional curve between two x and y vectors. This is followed by different commands to control the appearance of this curve – using color, curve type, legend, title, etc. Then it is shown how to plot two curves on the same graphs, followed by plotting four graphs on the same paper. Finally, different types of three-dimensional graphs are plotted including surface, mesh, and contour lines. The presentation