next up previous contents
Next: Plotting Up: Vectors und Matrices (1) Previous: Exercise 5 (Vectors)

Exercise 6 (Vectors)

Transform the list of Celsiustemperatures $-30C,-29C,\ldots,80C$ into Fahrenheitdegrees. Use vectors.

Solution:

>> TC=-30:80;
>> TF=9/5*TC+32
TF = [ -22  -20.2  -18.4  -16.6  -14.8  -13  -11.2  -9.4 ..
0



Helmut Dersch
2009-03-15