Computing study guide
Computing study guide CHEE 1331
Popular in Computing for Engineers
Popular in Chemical Engineering
This 12 page Study Guide was uploaded by Chris Notetaker on Tuesday February 16, 2016. The Study Guide belongs to CHEE 1331 at University of Houston taught by Ekaterini D Kourentzi in Fall 2015. Since its upload, it has received 86 views. For similar materials see Computing for Engineers in Chemical Engineering at University of Houston.
Reviews for Computing study guide
Report this Material
What is Karma?
Karma is the currency of StudySoup.
You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!
Date Created: 02/16/16
MATLAB studReview Diagrams and Pictures along with most definition are from the “Introduction to MatLab for Engineers” 3 rded. By William J. Palm III comment and continue (ellipsis) 12, 27. save and load. Importing spreadsheet data. The import wizard. 21, 138, 173. as abc.m‘save’ command to save to document. >>save abc.m %saves files The uses of the colon operator. 55, 57, 172. help and lookfor. 36-37. >> help log10 %displays information about log10 >> lookfor sine %displays all functions with the word sine such as cosine script files and functions. M-files. 27-29. For functions you declare them : function [output] = ‘filename’(input) input. 31, 171. disp and fprintf. 31, 549 (Appendix C) operators and element-by-element operators. 66-70. Review of matrix operations. Left division. 84, 332-336. Element-by-element vs. matrix operations 64-66. Element by element on for arrays that are the same size. Includes ‘.’ Before the command Polynomial operations. polyval, polyfit, roots. 85-87, 266. Finding zeros of functions, and minimizing them. fzero, fminbnd, fminsearch. 124- 128. Relational and Logical operators, truth tables. 155-161. Conditional statements, if, else. 164-168. NESTED IF’S IF ELSE IF Switch structure 188. for and while loops (starting on) 171 and 183. FOR LOOP used when the number of passes are known WHILE LOOP used when the number of passes are unknown The College Enrollment Model, 194-198. Nomenclature and rules for plots. 220-221. Plots: XY, label, title, grid, axis, fplot, subplot, hold, log, semilog, polar. The uses of the colon operator. 55, 57, 172. Polynomial operations. polyval, polyfit, roots. 85-87, 266. Matrix multiplication: - Matrix A and Matrix B - AB has to have the same number of rows as Matrix A and the same number of columns as Matrix B Array Multiplication: - A.*B has the same size as both A and B Chapter 3 - Function [output] = name(input) - Fzero to find the zeros of a one variable function o fzero(@function name, x0) o x0 is the user’s guess. The command will find the zero closest to the users value o it will only find zero’s that cross the x axis not ones that only touch it - fminbnd used to find the minimum of the function on an interval o fminbnd (@function name, x1, x2) o x1<=x<=x2 - fminsearch used to find the minimum of a function o fminsearch(@function name, x0) - Importing Data o Some files are .xls or ,wk1 o Ex: A = wk1read(‘filename’) or A = xlsread(‘filename’) Chapter 4: - ~5 = 0 and ~0=1 - Logical expressions have relational operators such as ‘<’ and ‘>’ returns mostly 1(true) or 0(false) - If and else statements have logical expressions - For loops are used when the number of repetitions are known - While loop used when the number of repetitions are unknown
Are you sure you want to buy this material for
You're already Subscribed!
Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'