SUNY Geneseo Department of Computer Science
Friday, March 14
CSci 120, Spring 2014
Prof. Doug Baldwin
Math dept soliciting scholarship applications
Exam 1 ready to return
function z = question2( x, y )
z = 3 * x - 2 * y;
end
>> question2( 3, 8 )
What’s a function handle?
sqrt( 16 ) ans = 4 f = @sqrt f = @sqrt f( 16 ) ans = 4 integral( @sqrt, 0, 4 ) ans = 5.3333 integral( @(x)x.^2, 0, 4 ) ans = 21.3333
Read / watch
“Catch-up” day
No new readings or videos
Finish lessons through lesson 8