lecture_E7_03_2p

lecture_E7_03_2p - 1 • First steps in matlab – Prompt...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 • First steps in matlab – Prompt, directory, files, variables, workspace – Example: one dimensional array Lecture 3: Arrays, data structures • Arrays – How to create a horizontal or a vertical array? – How to create two dimensional arrays, and transpose them? – How to create a large array automatically – Additional commands for arrays and matrices Reference: book, Chapter 2 Additional material: Lecture_03.m (available on bSpace) Start Matlab 2 Create matlab files Choose the path of the directory in which you want to store your programs Choose the path of the directory in which you want to store your programs Save your files in this directory Create matlab files Now that you are in the right section, your files show up: yourFile.m [with a .m extension] Double click on the file to open it 3 Call your matlab files from the prompt Start your .m file (in the present case, Lecture_01.m) Start to program in the editor In green: comments (not executed by the program) 4 Start to program in the editor...
View Full Document

Page1 / 13

lecture_E7_03_2p - 1 • First steps in matlab – Prompt...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online