Status
Not open for further replies.

eelblack2

Fewel
Contributor
Joined
Aug 27, 2006
Messages
2,289
Reaction score
4,174
Location
Parkland, FL
I painted my younger son's room this morning. Pretty close to Loch Ness Green on top, White stripe in the middle, and sort of a blueish purple on the bottom. he picked out the colors and I thought it would look horrific but it actually looks kinda cool.

Im probably nuts for letting an 18 month old pick out his room colors but it was kinda cool, I pushed the cart over to the paint samples section and the first two he grabbed, that was it.
 

This site may earn a commission from merchant links like Ebay, Amazon, and others.

Nik

Arrogant asshole
Joined
Sep 27, 2005
Messages
3,248
Reaction score
89
Location
My house
precip10=load('-ascii','assn3.txt'); %loads data into program
N=[1:10]; %variable representing the 10 columns
D=[31,61,92,123,151,182,212,243,273,304,335]; %variable representing days
D1=[61,92,123,151,182,212,243,273,304,335,365]; %variable representing offset days (for calculation of monthly precipitation)
MonthPrecip=[precip10(31,N);precip10(D1,N)-precip10(D,N)] %monthly precipitation (rows=months,columns=years)
figure(1)
plot(MonthPrecip) %plot of the monthly precipitation for all of the years (looks messy) (stored as figure 1)
v=[1,12,0,10] %generates vector for the axes
axis(v),xlabel('Month'),ylabel('Year'),title('Monthly Precipitation')
figure(2)
subplot(5,1,1) %the following lines generate subplots for the precipitation for years 1 to 5 (stored as figure 2)
plot(MonthPrecip(1,:)),axis(v),xlabel('Month'),ylabel('Year'),title('Monthly Precipitation')
subplot(5,1,2)
plot(MonthPrecip(2,:)),axis(v)
subplot(5,1,3)
plot(MonthPrecip(3,:)),axis(v)

MATLAB YAAAAAY!!!!

:(

Homework sucks.
 
Status
Not open for further replies.
Top
')