1 / 45

Using MATLAB for teaching engineering and supporting student learning

Using MATLAB for teaching engineering and supporting student learning. J A Rossiter University of Sheffield. Animations (or code) to support learning Encouraging independent learning. Peer assessment. Automated marking. Overview of concepts used in Sheffield. Animations with Matlab.

zarifa
Download Presentation

Using MATLAB for teaching engineering and supporting student learning

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using MATLAB for teaching engineering and supporting student learning J A Rossiter University of Sheffield

  2. Animations (or code) to support learning Encouraging independent learning. Peer assessment. Automated marking Overview of concepts used in Sheffield

  3. Animations with Matlab

  4. I will demonstrate these if the conference facilities allow this. Construction of Bode asymptotes and hence bode plots. animate_bode Cross-over frequencies cross_overfreq(tf(1,[1 2 1 0])) System dynamics (aeroplane landing, house heating, etc.) landingaircraft Examples of animations

  5. Overlaytuning output

  6. On the whole, students are highly appreciative of the way MATLAB has been integrated into the curriculum Matlab - easy if you use logical steps and the reference material available. Found it quite difficult at first, but then realised I have to work on my own to really master Matlab; I think the MATLAB assignment is a very good idea and think it is a shame that the module doesn’t focus more on this. I find doing something with a pen and paper when MATLAB can do a much better job and quicker fairly tedious, although I do appreciate that some background is required. Student comments

  7. Fostering Independent Learning and MATLAB Programming Skills at the Introductory Level J A Rossiter University of Sheffield

  8. University is very different from school. Although students realise this, they still desire the same form of ‘feedback’ and support that school teachers offered. This level of individual support and guidance is not possible and consequently many students struggle to adjust. Usually this is expressed as a feeling that they get too little feedback on their work. Transition issues School: 5-18 years University: 18+

  9. Engineering graduates need to be confident, independent learners. [This is a further part of the transition issues.] Typically, students are good at ‘research’ that involves fact finding, but struggle with independent learning which requires new skills. Students constantly request outside validation: is it right, what mark is that worth, etc ? Able to acquire and validate new knowledge and skills without a tutor and/or apply taught knowledge to solve new problems. N.B. Spoon feeding is used for scenarios where students expect to regurgitate precisely what they have been taught, perhaps just changing the numbers. Independent learning

  10. The current generation of ‘teachers’ largely found that programming came easily. The logical flow of one command following another fitted nicely with expectations in science and maths. Computing was a new opportunity and grasped eagerly and so there were few hang ups about grasping concepts. Computers could still be slow (punch cards!) and we were probably more patient for progress. Cultural change

  11. The current generation (anecdotal evidence across the globe) find programming much harder and less intuitive. One can conjecture that this is partially a consequence of them being exposed to GUI/MENU driven interaction with computers. The concepts of logically building blocks, one line following another, has not been embedded in their education. Students expect there to be ‘a solution’ that they just need to memorise without understanding. ‘Just tell me how to do it and I will learn it!’ Programming is hard

  12. How do we help students develop their (independent) learning skills and manage transition? How do we help students learn programming (problem solving). Summary + objectives How do we help students learn MATLAB? (Relies on programming) Programming is best mastered as an independent learning task.

  13. Reflections on earlier approaches to teaching matlab in the author’s department

  14. In order to develop student independent learning skills, the approach is integrated across the whole curriculum and not piecemeal. E.g. • Essay and peer assessment. • New approach to laboratories. • Reports requiring synoptic view of experiences and some research. • Design and simulate. • Learning of MATLAB/programming for problem solving. Independent learning

  15. Evaluation of independent learning Most of the activities were considered positive by the students (if you ignore the usual petty complaints from a few). However, the learning of programming (MATLAB) received a significant minority of more consistent complaints. Several students just could not learn this even with good support materials and weekly labs. By contrast, they liked the ‘spoon feeding’ approach taken to teaching C programming, although their skills development was poor. 17

  16. Typical MATLAB Quotes Also in lectures, more details or handouts should be given on MATLAB instead of struggling on that individually. The MATLAB needs some helpful explaining [Several] On the whole good, but I think I would have benefitted more if MATLAB was taught in a more similar fashion to C. As matter of fact, MATLAB is a very complex software to our 1st year student. I strongly recommend add more lectures about matlab. A classmate used to complain:"If we suppose to learn matlab by ourselves, Why should I go so far away from home, and spent so much money on education, so that to 'learn by myself' here?" BUT: I think this module is very good for establishing a stand alone approach to learning … . The MATLAB was my favourite part of this module it has given me more confidence as a practising engineer that I have the ability to research and construct my own knowledge on topics.

  17. Reflections on student perceptions of MATLAB Despite extensive resources in workbook format, weekly laboratories, numerous exemplar files and of course the many MathWorks resources, many students just do not get MATLAB. Requests to be taught exactly how to solve a problem before being asked to replicate this, or in other words wanting a very prescribed curriculum – you teach and I learn it. An inability to test their own code using commonsense checks, or in other words a lack of awareness or expectation that they can validate their own learning. An unwillingness to read the material provided carefully and to go through it methodically; rather they wanted to know ‘the answer’. A lack of confidence or self-belief.

  18. Proposals for the future

  19. Proposal Strong resistance to give into student requests for a return to spoon feeding approach (which, in our view, does not lead to effective learning anyway). Clearly some students need more support, but we still want the learning to be student led. Learning is known to improve the more senses that are activated, e.g. voice, vision, movement, emotion, etc. There is a lot of work on the potential of animations for encouraging learning. Develop some interactive learning resources which student can access at their own pace!

  20. The basic plan was to host some brief lecture like material on the web. • Students often want to ask questions (feedback?) or revisit lecture content when lecturer unavailable. • They can go quickly to specific topic where they are confused. • Resource is available anywhere and anytime. • It allows students to bring lecture into PC lab and thus see lecture and practise on computer simultaneously. Replacing lectures ?

  21. The animation abilities of powerpoint are easy to use. Software exists that allows lecturers to link up audio with powerpoint animations in an intuitive way, e.g. ARTICULATE. Staff prepare their powerpoint slide (or slides) with all the animations they might use in a lecture. Then, they record at their desk but as if in a lecture. [No rehearsal so quick] The software automatically synchronises these two and generates a flash file that runs on the web. Why use powerpoint?

  22. Go to the website http://controleducation.group.shef.ac.uk/MATLAB_index.htm A few will be demonstrated live if possible. Note, our view is that this do not need to be polished or professional. Quick and dirty means staff can actually develop them and students seem quite happy. Demonstration of lectures

  23. EXAMPLE 1: Loops

  24. for k=1:6; % ie. k=[1,2,3,4,5,6] y2(k)=sin(xvalues(k)); end … more code How does a for loop work? First k=1 hence do y2(1)=sin(xvalues(1)); Now k=2 hence do y2(2)=sin(xvalues(2)); Back to start of loop Now k=3 hence do Y2(3)=sin(xvalues(3)); Now k=4 hence do y2(4)=sin(xvalues(4)); Now k=5 hence do y2(5)=sin(xvalues(5)); Now k=6 hence do y2(6)=sin(xvalues(6)); Now k=6 is equal to max of allowed k, continue to next line of code

  25. Open the file week2_for.m Note the call statement has 3 variables. Run in the command window Examples of for loops Note values of k are: start, start+step, start+2*step,…,start+6*step

  26. Use help week2_loop_for_plotting.m and determine how to run this file and also how it works. Write a function file which takes as its input a vector of arbitrary length and then use a loop to define the output vector whose values are the cubes of the coefficients of the first vector plus one. The syntax could be: output_vector= week2_loop_cube(input_vector) Write a file to compute savings growth over time. For instance, let savings with an interest rate of 5% and annual bonus of £5 grow according to the model: Write a file with syntax Pounds=savings_growth(Pounds_in, interest_rate, annual_bonus,years_invested) The file should also plot savings growth. TASKS TASKS The intent is that students apply understanding to solve a new problem and should be able to validate their code without help – thus increasing confidence.

  27. EXAMPLE 2: Definition of transfer function

  28. Basic tool is tf.m Consider Numerator coefficients are [1 3 2] Denominator coefficients are [1 9 27 27] tf.m takes vectors of these coefficients. The final result is clear Laplace transforms

  29. Use MATLAB to define the following transfer functions. Answers are on the next slide. TASK

  30. Evaluation

  31. 88% of the students felt the resources for the module including MATLAB were good or very good.   • 63% said: I think this was a good way to help students learn MATLAB in their own time and they were easy to use. • 53% felt the MATLAB delivery with FLASH lectures had helped them improve their independent learning skills substantially and all but one or the remaining students felt it had helped them a little. • 98% of the students agreed that the development of independent learning skills was important and department should require this for some topics and that the overall balance was good. Student evaluation (year 1)

  32. The class was split 53:46 in terms of whether the independent learning requirements of MATLAB were right or too much. This is interesting because it is not so consistent with other modules where around 90% of students felt the independent learning requirements were about right (in those cases the learning required was probably closer to the research type work they will have encountered at school). Student evaluation (year 1)

  33. The majority of students agreed that independent learning skills are important (less than 20\% disagreed). However, when the question was specific to MATLAB 55\% thought the balance was good and 45\% the opposite. Nevertheless, this was much more favourable than the response for other topics. Student grades: the performance on this laboratory has been good compared to previous years (about 5\% up with student numbers around 180 this is significant) even though the number of questions and the demand has been substantially increased. Student evaluation (year 2)

  34. I think animated MATLAB lectures were a good way to help students learn MATLAB in their own time and they were easy to use. 80\% were positive (15\% knew MATLAB already so did not use) and only 5\% did not think this was a good idea or helpful. Student comments (year 2)

  35. Was very nice and I think more powerpoint slides that are in the format like the ones of matlab should be added for other modules to; The lectures on boothwood are VERY useful- thank you; The lectures on Boothwood was helpful I think that the animated lectures on boothwood were very helpful for independent learning of MATLAB; I find them easy to use and informative. My own independent attempts at learning MATLAB would probably have taken much longer without these; The material available for learning MATLAB is really good and improvement on the previous year. Student comments (year 1)

  36. It has perfect electronic resources. However, sometimes it is enough to get a slightly different question then you were taught and even if you know what to do, you don't know how to tell it to computer. The electronic slides by Dr. Rossiter are really helpful--> self study was possible by using them. Student comments (year 1) continued

  37. Conclusions Although we will not claim students are now highly proficient at problem solving with MATLAB, it is clear that they are much more positive about the expectation that they learn it by themselves. A key aim of year 1 is to get students to engage with and accept independent learning – we believe introducing these resources has made a good contribution to meeting this aim.

  38. Peer marking

  39. Problem solving with MATLAB (year 1, sem 2) • Students produce code and a partner report demonstrating use of MATLAB to solve and illustrate engineering problems. • Mark schemes very prescriptive between: • Comments, correctness, code easier to run, report structure, efficiency of code, etc. Two stage marking Staff marking 2 weeks later Peer marking 1st Encourage reflection on quality before key submission

  40. MATLAB • The author’s observations are that students were very actively engaged in the process and certainly making suggestions to each other about what they could improve or where their code did not fully meet the specifications. • However, the accuracy of marking of the qualitative aspects and some specific requirements was poor, even with very specific guidance to follow. • However, a useful formative process that seemed to encourage some PAL. In general students still struggling with open-ended criteria and independent learning used in this module to reflect some engineering practise; this impacts on marking.

  41. Automated marking

  42. Ensuring students submit code with standard naming conventions. How to give allowance for ‘small’ student errors. Assignments need to be very prescriptive and marking code can be tedious to produce. [Switched to using a VLE!] May not save time and quality of feedback is questionnable. Issues

  43. questions

More Related