Two things about this assignment:
  • To get images like all of the people who've completed the assignment, you'll have to interpolate between {x,y,z}bar values for those wavelengths that aren't really in the table.
  • If you just pad out the ends of the amplitude arrays you won't have to do anything strange with the wavelength arrays ... I just made them uniformly 85 elements long to represent wavelengths from 380 to 800 in 5nm steps. I've got the curve arrays right here
    k = 0.3
    k = 0.5
    k = 1.0
    k = 10.0
    k = 100