Week 1: Variables, storing data, and simple plotsThis week's assignment will be lighter than the average assignment, it is intended to just get you up and running with Matlab.
In this assignment, you will play around with storing data in arrays and making some simple plots.
This assignment is due on Tuesday, Sept. 29th, at 9:30am (1) Getting MATLABThe first major assignment you have for this week is to get your hands on a copy of Matlab! You can see instructions on how to do so here. We strongly recommend having a local copy of Matlab installed, as it will be much easier and faster to do your analysis on your local machine rather than accessing Matlab over the network. If you anticipate any problems or trouble getting access to Matlab, please let the instructors know as soon as possible. We will assume going forward that you have access to Matlab. (2) Familiarize yourself with the Matlab environment and the command line
(3) Run a script and email in the resulting figureDownload this .m file: (4) Make plots of the following functions:
Note: you can save plots by clicking the save icon in the plot window. Save them as a JPG or PNG to import them into other programs. (5) Answer the following questions:
x = [2 5 7 9]; y = x; y = 5;
y = (x-min(x))./max(x) SubmissionYou only need to submit the file from problem 3 and your work for problems 4 and 5. Just make a short document with your plots from question (4) and your answers from question (5). Email this document (preferrably in a PDF format) to the staff mailing list (nens230@gmail.com) with [Assignment 1] in the subject line. Attach the .fig from Question 3 to this email. |