Supplementary Lectures Introducing Computing and Algorithms

About your computer

 

Stacks Image 2834
View
A bit about your computer: bits, cpu, memory
Code: file.m

 

Stacks Image 2865
View
A bit more about your computer: binary, hexidecimal
Code: file.m

Computational complexity

 

Stacks Image 2941
View
Benchmarking computation time
& tic toc
Code: file.m

 

Stacks Image 2943
View
Computational complexity & operation count
Code: file.m

Vectors, matrices, functions

 

Stacks Image 3112
View
Element-wise multiplication
Code: file.m

 

Stacks Image 3114
View
Dot-times in MATLAB
Code: file.m

 

Stacks Image 3153
View
Function Handles in MATLAB
Code: file.m
© 2015 kutz