ME 30 Source Code
This site may evolve throughout the semester, so check back frequently.
Lecture Source Code
- straight-line_distance.c
- free_fall_d_vs_time.c
- double_it.c
- break.c
- switch_example.c
- prod_sum.c
- robust_scanf.c
- var_scope.c
- var_scope_block.c
- var_file_scope.c
- scope_nested_blocks.c
- just_count.c
- square_cube.c
- pointer_practice1.c
- pointer_practice2.c
- pointer_practice3.c
- array_practice2.c
- array_practice4.c
- array_practice5.c
- array_practice9.c
- file_I_O.c
- strings1.c
- strings2_copy_concat.c
- strings3_copy_concat_length.c
- strings4_find_substr.c
- strings5_strcspn.c
- POT_input_Serial_Out.pde (uses delay(), not so good)
- POT_in_Serial_Out.pde (uses millis(), much better)
- PWM_demo.exe (Lab View stand-alone demo of PWM)
- LVDT_dataset_for_lecture.xls
- Nonlinear_regression_example.xlsx
- Matlab_examples.txt
- rms.m
- rms1.m
- rms2.m
- rms3.m
- cool_plot.m
- File IO example
- Plot annotation example
- Multiple curves on a single graph example
- multi_plot_multi_windows.m
Homework Source Code
Lab Source Code
- Python related
- youknow.py (saved as a text file)
- Jupyter Lab notebooks
- Beginning Programming Concepts
- Arrays and File I/O
- Strings
- Microcontroller Programming
- Excel
- Matlab/Octave