Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CS1371 Week 1 Teaching Outline: Introduction to Matlab and Vectors, Study notes of Computer Science

The teaching plan for the first week of a university course on cs1371, focusing on introducing matlab and vectors. The professor explains the importance of textbooks and the role of homework, covers the basics of matlab and scripts, and introduces the concept of vectors. Students are expected to create and manipulate vectors using various functions and indexing. Objectives for each day include introducing matlab, problem solving, and learning how to do and turn in homework.

Typology: Study notes

Pre 2010

Uploaded on 08/16/2009

koofers-user-kui-1
koofers-user-kui-1 🇺🇸

10 documents

1 / 2

Toggle sidebar

Related documents


Partial preview of the text

Download CS1371 Week 1 Teaching Outline: Introduction to Matlab and Vectors and more Study notes Computer Science in PDF only on Docsity! CS1371 Teaching Outlines Week 1 Philosophical Notes: 1. with a text book containing all the students should know, we are free to explain the difficult parts of a chapter, but expect the students to dig around for the rest of it. 2. Having said that, many of the chapters push just a bit further than the students really need to go, thereby challenging the top flight students. We might have to make clear which parts are “beyond the pale.” Homework 1 topic: Getting Started Homework 2 topic: Basic Vectors – so we must introduce vectors on Friday Monday January 8th, 2007 Objective: Introduce Matlab – Chs 1 & 2 Introductions  Show of hands by major  Show of hands by class year  Introduce yourself Course Overview  Slide presentation  Open class Web site  Point them to Syllabus page Concept: variables and assignment  Difference between algebraic = and assignment.  Encourage useful variable names Wednesday, January 10th, 2007 Objective: Scripts – Chapter 3 Problem Solving  Discuss Space Ship One (or some other problem type) – o X prize o Carried to 50,000 ft on mother ship o Rocket motor gives vertical velocity V o Outer space defined as above 100 km altitude o How would you calculate the required velocity? (v2 = u2 + 2 a s) o $15,000 for ride into outer space o If you had some velocity V1 (> V), how long would you get in outer space for your money? (s = u t + ½ a t2 ) -> quadratic equation Matlab Introduction  Enter some stuff into the Matlab Command Window.  Show the variables appearing in the Workspace.  Do the velocity problem o 1 km = 3281 ft o g = -9.81 m/sec2 Writing a Script  Talk about the Current Directory (I usually work from my Acme account)  Open the empty script provided in the Matlab editor  Demonstrate do-a-bit / test-a-bit strategy using the Debug/Save and Run menu item (F5) with the velocity and time above 100 km problems  Solve the quadratic equation in the script explicitly as shown in the finished solution
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved