ENGR-25_MATLAB_OverView-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.

Slides:



Advertisements
Similar presentations
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Advertisements

ENGR-25_Plot_Model-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Lec-29_MS_Excel-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Tutorial_P9-34_Accelerating_Pendulum.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer,
XP New Perspectives on Creating Web Pages With Excel Tutorial 1 1 Creating Web Pages With Excel Tutorial 1.
Excel Tutorial 1 Getting Started with Excel
ENGR-25_Lec-27_MuPAD_Miscellaneous-n-TYUs.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer,
ENGR-25_Lec-25_SimuLink-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Chp6_Tutorial_PolyFit_J_S_rsq.pptx 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Microsoft Excel 2010 Chapter 7
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Copyright 2003, Paradigm Publishing Inc. CHAPTER 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Create and Rename a Folder Create and Rename a Folder Delete Workbooks.
MTH55_Lec-63_sec_9-4b_Log_Change_Base.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
Introduction to MATLAB ENGR 1187 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
Digital Image Processing Lecture3: Introduction to MATLAB.
ENGR-25_MATLAB_AppMath_ProbSolve.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed.
ENGR-25_Lec-28_Excel-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Licensed Electrical & Mechanical Engineer
ENGR-25_MTExam_Logisitics.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Sld 1 Chabot College Engineering Bruce Mayer, PE PSPICE_Install-n-DC_1101 Chabot College Engineering 43 SPICE Circuit Simulation.
MTH16_Lec-14_Sp14_sec_9-2_1st_Linear_ODEs.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
ENGR-25_MTExam_Logisitics.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
ENGR-25_MATLAB_OverView-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Lec-25_SimuLink-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Lec-25_SimuLink-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Programming-3.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_EXCEL_Integration_Tutorial-Example.pptx 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered.
FIRST COURSE Integration Tutorial 1 Integrating Word and Excel.
Intro to Excel - Session 6.11 Tutorial 6 - Session 6.1 Integrating Excel with Other Windows Programs and the World Wide Web.
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
ENGR-25_MATLAB_OverView-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Plot_Model-4.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Registered Electrical.
ENGR-25_Prob_6-12_Solution.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer
SPSS- Tutorial The following power-point slides show you how to use some of the features in SPSS. A survey of 20 randomly selected companies asked them.
ENGR-25_Prob_9_15_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Prob_10-25_Catenary_Solution.ppt.ppt 1 Bruce Mayer, PE ENGR/MTH/PHYS25: Computational Methods Bruce Mayer, PE Registered.
ENGR-25_Lec-27_MuPAD_Miscellaneous-n-TYUs.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer,
ENGR-25_Prob_6-12_Solution.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer
Introduction to Matlab  Matlab is a software package for technical computation.  Matlab allows you to solve many numerical problems including - arrays.
XP Tutorial 8 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Object Linking and Embedding Tutorial 8.
FIRST COURSE Integration Tutorial 2 Integrating Word, Excel, and Access.
ENGR-10_HW_Engr_Fields_Disciplines_Instructions.pptx 1 Bruce Mayer, PE Engineering-10: Intro to Engineering Bruce Mayer, PE Licensed.
MTH55_Lec-45_7-6a_Radical_Equations.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
MODULE 9 Integrating Word, Excel, Access, and PowerPoint © Paradigm Publishing, Inc.1.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_Lec-21_Integ_Diff.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
E ENGR36_Tutorial_Areal_Moment_of_Inertia.pptx 1 Bruce Mayer, PE Engineering-36: Engineering Mechanics - Statics Bruce Mayer, PE Licensed Electrical &
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
© ENGR-43_Prob_14-32_OpAmp_OutPut_Current.pptx 1 Bruce Mayer, PE Engineering-43 Electrical Circuits & Devices Bruce Mayer, PE.
ENGR-43_Lec-04b_2nd_Order_Ckts.pptx 1 Bruce Mayer, PE Engineering-43: Engineering Circuit Analysis Bruce Mayer, PE Registered.
ENGR-25_HW-01_Solution.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
ENGR-10_Why-n-Where_Self-Intro_Order.pptx 1 Bruce Mayer, PE Engineering-10: Intro to Engineering Bruce Mayer, PE Licensed Electrical.
ENGR-25_MATLAB_AppMath_ProbSolve.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed.
ENGR-25_Linear_Regression_Tutorial.ppt 1 Bruce Mayer, PE Engineering-25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer.
Integrating Word, Excel, Access, and PowerPoint
Catenary Tutorial Part-2
Licensed Electrical & Mechanical Engineer
Registered Electrical & Mechanical Engineer
Digital Image Processing
Word: Styles & Illustrations Participation Project
Licensed Electrical & Mechanical Engineer
Prob 9-28 Solution Tutorial
Presentation transcript:

ENGR-25_MATLAB_OverView-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer Engr/Math/Physics 25 Tutorial-1 Intro Videos Build HW File

ENGR-25_MATLAB_OverView-1.ppt 2 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods First ENGR25 Tutorial  MATLAB Video Tutorials ent_center/tutorials/launchpad.htmlhttp:// ent_center/tutorials/launchpad.html – started-with-matlab html (6 min)  – matlab-program html (6 min)  – -basic-plotting-functions.html (6 min) – ng-started-with-simulink.html (3.5 min min) ng-started-with-simulink.html

ENGR-25_MATLAB_OverView-1.ppt 3 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods First ENGR25 Tutorial  MATLAB Video Tutorials ent_center/tutorials/launchpad.htmlhttp:// ent_center/tutorials/launchpad.html – ng-a-basic-plot-interactively.html (6 min) ng-a-basic-plot-interactively.html  See Also Day1_HW_Build_Tutorial_1201.m

ENGR-25_MATLAB_OverView-1.ppt 4 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods HW File MSWord Starting Point

ENGR-25_MATLAB_OverView-1.ppt 5 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods HW00 P01  Trapezoid Area  Consider an ARBITRARY Trapezoid  a & b are BASE Lengths  h is the Height  The Area of this form is the AVERAGE OF THE BASE-LENGTHS times the HEIGHT  The ALGEBRAIC formula for the Area, A

ENGR-25_MATLAB_OverView-1.ppt 6 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods HW00 P01  Trapezoid Area  Ask user to enter a, b, h  Calc & Display Trapezoid area

ENGR-25_MATLAB_OverView-1.ppt 7 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods HW00 P03  Quadratic Eqn  Ask user to enter a, b, c for Quadratic Eqn shown below  Display Solution

ENGR-25_MATLAB_OverView-1.ppt 8 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods HW00 P07  CoSine City  Find Difference in MATLAB CoSine Calcs

ENGR-25_MATLAB_OverView-1.ppt 9 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods  Plot This Function Where –T  Temperature (°C) –t  time (minutes) –t 0  = 3.3 minutes For 1  t  9

ENGR-25_MATLAB_OverView-1.ppt 10 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods HW00 P15  SimuLink City  Solve the ODE below using the Icon Based Programming Environment, SimuLink

ENGR-25_MATLAB_OverView-1.ppt 11 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods HW00 P23  MuPAD Manipulation  For  Find Using MuPAD

ENGR-25_MATLAB_OverView-1.ppt 12 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods HW00 P31  Excel Exposure  Compare Industrial Machine Tool Products from Gladiator Engineered Systems (GES) and the Competition Thru the use of an Excel RADAR Chart

ENGR-25_MATLAB_OverView-1.ppt 13 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Windows ClipBoard Copy  MATLAB provides a Very Nice Utility in which a Plot is sent to the MSWindows ClipBoard for Subsequent Pasting into Other Applications  To Save to the ClipBoard 1.Select Copy Options from the Edit menu. The Copying Options page of the Preferences dialog box appears. 2.Complete the fields on the Copying Options page and click OK. 3.Select Copy Figure from the Edit menu.

ENGR-25_MATLAB_OverView-1.ppt 14 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copy to Clipboard  Step-1 1.In Figure 1 Window Click Edit → Copy Options...

ENGR-25_MATLAB_OverView-1.ppt 15 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copy to Clipboard  Steps 2&3 2.In the Preferences Dialog Box check the Copy- Options Boxes as you see Fit 3.Close the Dialog Box

ENGR-25_MATLAB_OverView-1.ppt 16 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copy to Clipboard – Steps 4&5 4.In the Figure Window use File → Copy Figure to send the plot to the clipboard 5.Paste the plot image into PowerPoint, Word, etc.

ENGR-25_MATLAB_OverView-1.ppt 17 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods The Copy Figure export

ENGR-25_MATLAB_OverView-1.ppt 18 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copy SimuLink Model  A SimuLink Model

ENGR-25_MATLAB_OverView-1.ppt 19 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods The Copied Model

ENGR-25_MATLAB_OverView-1.ppt 20 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copy MuPAD Symbolic Math  A MuPAD WorkBook  Select Content

ENGR-25_MATLAB_OverView-1.ppt 21 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copy MuPAD Symbolic Math  In MSWord use: PASTE SPECIAL FORMATED TEXT (RTF)

ENGR-25_MATLAB_OverView-1.ppt 22 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Copied MuPAD WorkBook

ENGR-25_MATLAB_OverView-1.ppt 23 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods 3x3 from ENGR43  For The DC Linear Circuits We Will need to Solve Systems Of Algebraic Equations

ENGR-25_MATLAB_OverView-1.ppt 24 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods First ENGR25 Tutorial –Additional Videos Useful in the future  data-from-files.html (HW5, 7min) data-from-files.html  html?BB=1 (SimuLink) html?BB=1  simulink.html (4 min) simulink.html  simulation-results.html (4 min) simulation-results.html  HW Presentation  Save MATLAB work to MSWord file Trapezoid area, 3x3 Eqn System, cosh calculation, plot y = ln(t+.02)·sin(1.3t)

ENGR-25_MATLAB_OverView-1.ppt 25 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Additional Useful Videos

ENGR-25_MATLAB_OverView-1.ppt 26 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Day1 demo Script

ENGR-25_MATLAB_OverView-1.ppt 27 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods DeskTop Recovery to UnScramble the DeskTop

ENGR-25_MATLAB_OverView-1.ppt 28 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods All Done for Today Please Try Using MATLAB  Let’s do MQ-00b

ENGR-25_MATLAB_OverView-1.ppt 29 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods A Trapezoid t b h  A = [Hgt] x [Avg-Width]

ENGR-25_MATLAB_OverView-1.ppt 30 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Cosh City >> fplot('cosh', [-2 2]) >> grid

ENGR-25_MATLAB_OverView-1.ppt 31 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods 3x3 from ENGR43  For The DC Linear Circuits We Will need to Solve Systems Of Algebraic Equations

ENGR-25_MATLAB_OverView-1.ppt 32 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Example Problem 1-21  Plot This Function Where –T  Temperature (°C) –t  time (minutes) For: 1  t  3

ENGR-25_MATLAB_OverView-1.ppt 33 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Prob 1-21 >> t = [1:.01:3]; >> T = 6*log(t) - 7*exp(0.2*t); >> plot(t,T, 'LineWidth', 3) >> xlabel('t (Sec)') >> ylabel('T (deg C)') >> title('Temp vs time') >> grid

ENGR-25_MATLAB_OverView-1.ppt 34 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer Engr/Math/Physics 25 Appendix

ENGR-25_MATLAB_OverView-1.ppt 35 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Example Demo Session >> %Use MATLAB As Calculator >> 17*19 ans = 323 >> 77/ ans = >> 64^(1/3) + 32^0.2 ans = 6 >> (7+11)*2.5 ans = 45 >> L = 14.4 L = >> W = 13.3 W = >> Area = L*W Area =

ENGR-25_MATLAB_OverView-1.ppt 36 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Prob 1-21 Command Script  From the Command Window >> t = [1:0.02:3]; >> T = 6*log(t) - 7*exp(0.2*t); >> plot(t,T), xlabel('time (min)'),ylabel('Temperature (°C)'), title('Problem 1-21'), grid

ENGR-25_MATLAB_OverView-1.ppt 37 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Prob 1-22 Plot

ENGR-25_MATLAB_OverView-1.ppt 38 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods

ENGR-25_MATLAB_OverView-1.ppt 39 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods The Copied MuPAD WorkBook

ENGR-25_MATLAB_OverView-1.ppt 40 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods System, Directory, File Cmnds CommandDescription pwd Displays the current directory cd dirname Changes the current directory to dirname rmpath dirname Removes the directory dirname from the search path. what Lists the MATLAB-specificfiles found in the current working directory. Most data files and other non-MATLAB files are not listed. Use dir to get a list of all files what dirname Lists the MATLAB-specific files in directory dirname