# Class Notes for CSE 7 at University of California - San Diego (UCSD)

• 12 Results
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 2: Mathworks, Equals Sign, Double-Precision Floating-Point Format

OC9335922 Page
25 Jan 2017
3
Command window: the space where you work in. One row or one column is a vector. Ans= answer, variable in matlab, default variable. : used by itself mea
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture 11: notes 2.3.17

OC9335922 Page
13 Feb 2017
1
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture 4: Lecture 4&5 Notes 1.18.17 and 1.20.17

OC9335922 Page
3 Feb 2017
1
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 9: Bar Chart, Function Type, Row And Column Vectors

OC9335922 Page
10 Feb 2017
4
Figure - creates a new figure window. Hold on toggle that keeps current graph in figure window. Legend displays strings in a legend. Call this function
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 6: Matlab, Mexican Peso

OC9335923 Page
10 Feb 2017
3
Always refer to row first, column second. >>mat=[1:3; 6 11 -2] mat= 1 2 3. What is mat(m,:) mth row, all columns. Last row, nth value mat(end, n) Any s
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture 10: notes 2.1.17

OC9335922 Page
13 Feb 2017
1
Program: combination of a script (stored in a . m file)and the function (also stored in . m files) Volume of a hollow sphere is 4/3pi (r0. Where ro is
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 3: Character Encoding, Exclusive Or, Truth Table

OC9335922 Page
25 Jan 2017
4
Floor means rounding towards the floor or towards negative infinity. Round goes to the nearest integer, . 5 1. Generates uniformly distributed random r
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 17: Empty String, C String Handling, Substring

OC9335922 Page
21 Mar 2017
0
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 15: Scalar Multiplication, Programming Style

OC9335923 Page
21 Mar 2017
0
Cse 7 lecture 15 & 16 : 2 / 24-27 /17. Scalar multiplication: multiply every element by a scalar. Scalar addition: add a scalar to every element. Array
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 12: For Loop, Boolean Expression, Size Function

OC9335923 Page
16 Mar 2017
0
Cse 7 notes lecture 12 and 13: 2/6/17 &2/13/17. The single x | y means both sides will be evaluated. Single & means if either side is false then it is
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 14: Short Circuit, Error Function, Boolean Expression

OC9335924 Page
16 Mar 2017
0
Loops: while loop while this condition is true, the loop continues, while (<boolean expression>) statement(s) end, ex: age=input( enter age:") while ag
View Document
UCSDCSE 7Susan MarxWinter

## CSE 7 Lecture Notes - Lecture 8: Matlab, Row And Column Vectors

OC9335922 Page
10 Feb 2017
0
Prod calculates product for each column. >> sum( mat) ans= 6 8 4 7. Nest calls to get the function for all elements of matrix. How computers store imag
View Document
Showing 1 — 12 of 12 results

## Popular Professors

View all professors (1+)

Class Notes (1,100,000)
US (460,000)
UCSD (8,000)
CSE (200)
CSE 7 (10)