{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecture_5 - Lecture 5 Comp 116 Jan 28th 2009 Administrative...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Click to edit Master subtitle style 10/6/09 Lecture 5 Comp 116 Jan 28th , 2009
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
10/6/09 Administrative things How to turn in the assignment volunteer. Make sure there is at least one laptop and one copy of Gilat per group from next class. We will do more practical exercises. Assignment 1 due Friday Jan 30th. do not wait till the end to solve your doubts!
Background image of page 2
10/6/09 Strings
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
10/6/09 What is a string? sequence of characters abc This is a string. Any character can be part of the sequence. characters come from some encoding ASCII
Background image of page 4
10/6/09 Where do you see them? Input/Output of a program Bioinformatics Protein binding sites DNA sequences network spam detection
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
10/6/09 Strings in MATLAB (constructing) Enclosed in single quotes ‘ This is a string’ (NOTE: the starting and ending quote character is the same ‘ ) Row vector of characters [ ‘a’, ‘n’, ‘o’, ‘t’, ‘h’, ‘e’, ‘r’ ] Strings as vectors s = ‘This is a string’; s(1) ‘T’ s(1:4) ‘This’
Background image of page 6
10/6/09 Things to do with strings and characters
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}