User Tools

Site Tools


gibson:teaching:spring-2018:math445:lecture:publish

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gibson:teaching:spring-2018:math445:lecture:publish [2018/02/06 09:34]
gibson created
gibson:teaching:spring-2018:math445:lecture:publish [2018/02/06 10:22] (current)
gibson
Line 3: Line 3:
 You can use the Matlab ''​publish''​ function to generate a nicely-formatted PDF of your lab work from a Matlab script. Here's an illustration that repeats material from today'​s lecture on estimating log-linear relationships from plots, as if it were work I wanted to turn in for lab 3.  You can use the Matlab ''​publish''​ function to generate a nicely-formatted PDF of your lab work from a Matlab script. Here's an illustration that repeats material from today'​s lecture on estimating log-linear relationships from plots, as if it were work I wanted to turn in for lab 3. 
  
-Write a matlab script in file ''​lab3.m''​. Note that this script loads a couple data files; these files are provided below. ​+Write a matlab script in file ''​lab3.m''​. Mark the title and problems with ''<​nowiki>​%%</​nowiki>​''​. Note that this script loads a couple data files; these are provided below.
 <code matlab> <code matlab>
 %% John Gibson, Lab 3 Math 445 %% John Gibson, Lab 3 Math 445
Line 56: Line 56:
 </​code>​ </​code>​
  
-This produces a file ''​lab3.pdf'' ​in ''​html''​ subdirectory+This produces a file {{ :​gibson:​teaching:​spring-2018:​math445:​lecture:​lab3.pdf ​|lab3.pdf}} ​in an ''​html''​ subdirectory
 <code matlab> <code matlab>
 >> ls html >> ls html
Line 62: Line 62:
 </​code>​ </​code>​
  
-You can submit your lab work by uploading this file to Canvas. ​+You can submit your lab work by uploading this file to Canvas. ​The finished product looks like this (first page only). {{:​gibson:​teaching:​spring-2018:​math445:​lecture:​lab3.png?​600}} 
 + 
 +====== Data files ==== 
 + 
 +<file text data1.asc>​ 
 +% x             y 
 +1.06e+00 2.22e+01 
 +2.71e+00 3.38e-01 
 +5.53e+00 2.72e-04 
 +7.87e+00 7.39e-07 
 +9.12e+00 3.19e-08 
 +1.24e+01 8.06e-12 
 +1.40e+01 1.41e-13 
 +1.59e+01 1.05e-15 
 +1.80e+01 5.32e-18 
 +2.04e+01 1.13e-20 
 +</​file>​ 
 + 
 +<file text data3.asc>​ 
 +4.04e-04 2.02e+01 
 +1.67e-03 8.85e+00 
 +2.04e-03 7.88e+00 
 +8.38e-03 3.46e+00 
 +1.73e-02 2.27e+00 
 +2.51e-02 1.82e+00 
 +5.33e-02 1.18e+00 
 +1.06e-01 7.90e-01 
 +2.09e-01 5.32e-01 
 +1.69e+00 1.57e-01 
 +1.80e+00 1.52e-01 
 +1.92e+00 1.46e-01 
 +2.52e+00 1.25e-01 
 +5.89e+00 7.63e-02 
 +6.97e+00 6.92e-02 
 +1.28e+02 1.27e-02 
 +1.35e+02 1.23e-02 
 +3.11e+02 7.58e-03 
 +5.59e+02 5.39e-03 
 +6.54e+03 1.29e-03 
 +</​file>​
gibson/teaching/spring-2018/math445/lecture/publish.1517938481.txt.gz · Last modified: 2018/02/06 09:34 by gibson