Download presentation
Presentation is loading. Please wait.
Published by희순 천 Modified over 6 years ago
1
Dr. Zhen Jiang Computer Science Department West Chester University
CS062: 《数据分析及科研实践》 Dr. Zhen Jiang Computer Science Department West Chester University 9/17/2018 SJTU, 2011 Summer
2
Introduction What course is it? What can we do in three weeks?
How do we arrange these three weeks (schedule)? 9/17/2018 SJTU, 2011 Summer
3
We saw the introduction from poster, web site, e-mail, etc
We saw the introduction from poster, web site, , etc. So what else should we know before the class starts? 9/17/2018 SJTU, 2011 Summer
4
What is the fundamental block of computer science?
Language, programming, application, design, OS, hardware, service, etc. Data, analysis, and processing Fundamental logic and procedure in research Complete the simulation section to support the context of the paper What is the paper for (real research work)? How to create/write your own paper? What are major factors in paper writing? Novelty Contribution Readability 9/17/2018 SJTU, 2011 Summer
5
Focuses of this course that you may not experience in other courses or training.
Hand-on experience Lab work Focus of procedure, not result Unique learning goals and outcomes Do not need any self-study (preparation) !!! Interest & knowledge 9/17/2018 SJTU, 2011 Summer
6
What we do? Data curving Data estimation and prediction
Data extraction Computer graphics Programming with Matlab 9/17/2018 SJTU, 2011 Summer
7
No Textbook Reference book
Hanselman & Littlefield, “Mastering Matlab 7”, Prentice Hall, Upper Saddle River, NJ, 2005. 9/17/2018 SJTU, 2011 Summer
8
Student Benefits (expected outcomes)
Figure drawing Better understanding of programming Qualified research assistant Knowledge of research activity Communication for research Real research experience (*bonus only) 9/17/2018 SJTU, 2011 Summer
9
Can we achieve these goals?
Never say it is impossible Worry about your score? Fair & satisfied score Valuable experience No standard, challengeable work Different background Various technique depth All work will be counted 9/17/2018 SJTU, 2011 Summer
10
Unique Learning Methods
Communication, communication, and communication! Listening? Recording everything? Self-learning? Self-check, asking, listening, practicing, making correction immediately Don’t be quite “I already know” so I did not respond to you (team member or instructor), e.g., class information You will not be charged or lose points by asking questions. No question is called stupid question. Real detailed question, not just for leaving impression. 9/17/2018 SJTU, 2011 Summer
11
These questions are welcome!
Detailed technique issue Can I work out this with you together? Detailed process or procedure I forget what is discussed in class about …, can you explain it again (not the entire thing)? Concern for improving class teaching and learning I think … Please do not ask any of following questions. What is the answer you are looking for? How can I / What must I do to get an ‘A’? 9/17/2018 SJTU, 2011 Summer
12
Other information Available at tm Syllabus Instructor Schedule Evaluation 9/17/2018 SJTU, 2011 Summer
13
Schedule Class/lab work in turns in the first 2 weeks
MW class TuTh lab/grading/solution discussion Short/long break: chat on (tips of) research Week 1 Introduction & programming Week 2 Data analysis, curving, predication, data extraction Week 3 Student presentation by groups 9/17/2018 SJTU, 2011 Summer
14
The number of female members in each group = 0 or 2
Find your partners Maximum of each group = 5 The number of female members in each group = 0 or 2 9/17/2018 SJTU, 2011 Summer
15
9/17/2018 SJTU, 2011 Summer
16
Example on Page 6 Variable Keyword (reserved word) ; Calculation
% (comment) and %{ } (block comment) , error 9/17/2018 SJTU, 2011 Summer
17
9/17/2018 SJTU, 2011 Summer
18
<File> <new> Or the direct access from the icon “blank”
Page 31 Echo on/off ; Example_P30 9/17/2018 SJTU, 2011 Summer
19
9/17/2018 SJTU, 2011 Summer
20
Input / Output Parameter input Page 33 Example_P33 9/17/2018
SJTU, 2011 Summer
21
9/17/2018 SJTU, 2011 Summer
22
Xls input (the easiest one) Page 250
Sample xls input file Page 250 Also available at sk/help/techdoc/ref/xlsread.html Example_p250, example_p253, example_p254 9/17/2018 SJTU, 2011 Summer
23
9/17/2018 SJTU, 2011 Summer
24
9/17/2018 SJTU, 2011 Summer
25
Tip: Try to avoid using low level file I/O
Other inputs Sample plain text file Help fileformats, page 253 Tip: Try to avoid using low level file I/O 9/17/2018 SJTU, 2011 Summer
26
9/17/2018 SJTU, 2011 Summer
27
9/17/2018 SJTU, 2011 Summer
28
Something you must know Page 39 Example_P39, example_p39b
9/17/2018 SJTU, 2011 Summer
29
9/17/2018 SJTU, 2011 Summer
30
9/17/2018 SJTU, 2011 Summer
31
Apply an operation on every unit in the array Page 47
` (orientation, especially useful to handle different input format, see the discussion later) Example_p47 9/17/2018 SJTU, 2011 Summer
32
9/17/2018 SJTU, 2011 Summer
33
Standard arrays, page 54 Ones, zeros, size, eye, rand, randn, diag
Repmat(pi, 3, 4) (Page 87) * Dimension 1: vertical direction vs. Dimension 2: horizontal direction Example_p54 9/17/2018 SJTU, 2011 Summer
34
Array sorting, search, page 73 Example_p73, example_p74
9/17/2018 SJTU, 2011 Summer
35
9/17/2018 SJTU, 2011 Summer
36
Find(a>4, 2, ‘first’) Max Min Size Example_P76
Page 189, such as a filter to discard NaN or InF Max Min Size Example_P76 9/17/2018 SJTU, 2011 Summer
37
9/17/2018 SJTU, 2011 Summer
38
Example_array 9/17/2018 SJTU, 2011 Summer
39
9/17/2018 SJTU, 2011 Summer
40
Manipulation * , page 82 9/17/2018 SJTU, 2011 Summer
41
[p, q] [p; q] Or cat (2, p, q) Or cat (1, p, q) 9/17/2018
SJTU, 2011 Summer
42
Exercises Multidimensional array 1-d => 2-d => 3-d,
Reshape(page 57), cat(page 101), flipdim, shiftdim, permute Their search and sorting, such as a 3d array sorted in one dimension. 9/17/2018 SJTU, 2011 Summer
43
Output Standard output Disp(), page 162 Sprintf, page 168 (optional)
Plot, page 276 9/17/2018 SJTU, 2011 Summer
44
9/17/2018 SJTU, 2011 Summer
45
9/17/2018 SJTU, 2011 Summer
46
Control Flow 9/17/2018 SJTU, 2011 Summer
47
Display multiple column results Example_column
9/17/2018 SJTU, 2011 Summer
48
9/17/2018 SJTU, 2011 Summer
49
Handles both numbers and words
9/17/2018 SJTU, 2011 Summer
50
9/17/2018 SJTU, 2011 Summer
51
Begin with, end with and found Example_begin
9/17/2018 SJTU, 2011 Summer
52
9/17/2018 SJTU, 2011 Summer
53
Time and its expression format (very useful in plot display)
Page 9/17/2018 SJTU, 2011 Summer
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.