Matlab Diary Matlab allows you to keep a log or diary of your work.

Slides:



Advertisements
Similar presentations
EZ Grade Pro Becky Koss French & Spanish Teacher Lake-Lehman Sr. High School.
Advertisements

Here’s what to do if you can’t PRINT from a computer station: Step One: Make sure your document (Word Doc or PPT) is SAVED Step Two: Log in to AERIES.
Stata and logit recap. Topics Introduction to Stata – Files / directories – Stata syntax – Useful commands / functions Logistic regression analysis with.
Functions in MatLab Create a new folder on your Z:drive called MatLab_Class24 Start MatLab and change your current directory to MatLab_Class24 Topics:
Division Example 2x - 3y + 4z = 10 x + 6y - 3z = 4 -5x + y + 2z = 3 A*X = B where A = B = >> X = A\B X =
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon...
ME457 Mechatronic System Modeling MICHIGAN STATE UNIVERSITY Matlab® refresher Your objective: to dominate! My objective: to help you dominate!
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.
Programming For Nuclear Engineers Lecture 12 MATLAB (3) 1.
Lecture 1: Introduction Lecture series based on the text: Essential MATLAB for Engineers and Scientists By Hahn & Valentine
MATLAB File Management. MATLAB User File Management Matlab provides a group of commands to manage user files. For more information, type help iofun. pwd.
Time and Resource Management  How can I keep track of everything I need to do?  How can I make better use of my time?  How can I get more done during.
Introduction to MATLAB. Windows in MATLAB Command Window – where you enter data, run MATLAB code, and display results Command History - displays a log.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
Microsoft Word Objective: Understand Basic Word/Word Processing Skills Lesson: Create and Save a New Document LOL: Understand/Apply Create your first Word.
Chapter 1: Getting Started with MATLAB MATLAB for Scientist and Engineers Using Symbolic Toolbox.
The Computer The Survival Guide to Turning On, Logging On, Logging Off, and Shutting Down Your Computer.
OPERATING TERMS OF THE COMPUTER Exit Ticket AB Re-teach.
Introduction to Engineering MATLAB – 2 Introduction to MATLAB - 2 Agenda Defining Variables MATLAB Windows.
CHAPTER 1 INTRODUCTION. CHAPTER GOALS To understand the activity of programming To understand the activity of programming To learn about the architecture.
ISU Basic SAS commands Laboratory No. 1 Computer Techniques for Biological Research Animal Science 500 Ken Stalder, Professor Department of Animal Science.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
How to update an abstract file And how to upload your final publication ready paper.
I NTRODUCTION TO M ICROSOFT O FFICE W ORD A GENDA Interface- File Button v. Office Menu File Menu and the Office Button Toolbar Home Tab – Font,
CSD 340 (Blum)1 Starting JavaScript Homage to the Homage to the Square.
Instructor: Chris Trenkov Hands-on Course Python for Absolute Beginners (Spring 2015) Class #001 (January 17, 2015)
BMTRY 789 Lecture 11: Debugging Readings – Chapter 10 (3 rd Ed) from “The Little SAS Book” Lab Problems – None Homework Due – None Final Project Presentations.
Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014.
Welcome to Mrs Barnard’s little test. Read the questions then click which answer you think may be correct. If your answer is correct you will hear an.
A simple classification problem Extract attributes Pattern Pattern recognition decision x C1 C2.
CSD 340 (Blum)1 Starting JavaScript Homage to the Homage to the Square.
 Start Microsoft Word from the icon or shortcut for the application. This is usually accessible from the Start Button. Then go to Programs, then Microsoft.
Early File I/O To help you get started with your final project 1. Definition of “high level” 2. Is using a High Level function appropriate? 3. xlsread()
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
You must study this PowerPoint, play the Rags to Riches game and take and pass the quiz before continuing with class assignments.
How to build a Web Page or “The things geeks never told you!”
MySQL Getting Started BCIS 3680 Enterprise Programming.
Introduction to EBSCOhost
Advanced Excel Helen Mills OME-RESA.
Release Numbers MATLAB is updated regularly
Prof. Mark Glauser Created by: David Marr
Database application MySQL Database and PhpMyAdmin
Introduction to Matlab
Basic operations in Matlab
How to save files using SSU Apps Anywhere
Essentials of HTML.
Essentials of HTML.
Lecture 1: Introduction
Lab 10 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show.
How to complete a Referral Form via “Student” tab
MATLAB (Lecture 2) BY:MAHA ALMOUSA.
CS100J 26 April. Matlab Use help button!!! Variables, values, types
Escape sequences: Practice using the escape sequences on the code below to see what happens. Try this next code to help you understand the last two sequences.
Go to =>
Lets Build a Nearpod An Idea that Rocks.
Python programming exercise
CSCI N317 Computation for Scientific Applications Unit 1 – 1 MATLAB
Stata Basic Course Lab 2.
Classroom Procedures Mr. Clark’s classroom.
Introduction to EBSCOhost
Activity: Career Cruising
Your objective: to dominate! My objective: to help you dominate!
Pass it on Sharing Language
Instructions for Data Base
TST Technology Besteiro Middle School
MATLAB (Lecture 2) BY:MAHA ALMOUSA.
Acts 8: 26 – 35. Acts 8: 26 – 35 Who are the main characters in the story? (hint: there are 4)
EVERYONE LOG ON!!! WE ARE GOING TO DELETE YOUR OLD USERNAME FOLDERS & ADD NEW, IMPROVED ONES TO YOUR COMPUTERS.
Presentation transcript:

Matlab Diary Matlab allows you to keep a log or diary of your work. This is useful because: You can log all the new skills you practice, then take home the log file to study. Some of you early homeworks will require you to print this log, and hand it in.

The first things we need to do are: Clear all the variables currently in memory (ans, mass_of_moon, sun_o_dist ) Clear away all the old text in the command window

The first things we need to do are: Clear all the variables currently in memory. The common clear will do this Type clear then hit <enter> Note that all the variables in memory are gone forever!

The first things we need to do are: Clear all the variables currently in memory Clear away all the old text in the command window. The command clc does this Type clc then hit <enter> All this text has been cleaned up.

Now we have a brand new session we can record We need to tell matlab to start recording the session, and the name of the file to save this session to. Suppose I want to save the session into a file with my name and data, Eamonn3jan2012, I will type diary('Eamonn3jan2012.txt') And hit <enter> Note that I added .txt To my file name. That tells matlab to make a text file

Now I do some work, adding 1 and 2, and then adding the first 5 integers. When I am done, I type diary off And hit <enter> Now if I go to the folder C:\Users\eamonn\Documents\MATLAB (your folder location will be a little different) I can find the file And open it with notepad

Matlab lets you write text in the command window that will be ignored. Such text are called comments As we will see, comments are very useful. To write a comment, just make sure that the first character is the percent sign % Matlab will let you know that it thinks this is a comment, by making the entire line green in color. Commented text does nothing, but it can be useful to make notes to yourself or someone else…