% Peer Training: Intermediate MATLAB % DATA FILE: arrays.m % Written by Omar Lakkis % Last updated 02/15/00 clear close all A = [3 4 5; 5 4 6; 7 1 -1]; b = [1 -1 0]'; c = [1 2 3 4]'; % The temperature in the room for i = 1:10 for j = 1:20 for k = 1:30 T(i,j,k) = (700 - 30*(i/10)^2) * (1+rand/50); end end end observed_data = [1 0 -1 9 4 5 -3 8 10 4 8 -8 5 7 -6]; w = [1 0 2 3 0 1 5 6 8 10 100 0 2 4 0 4];