| Algorithm 1 Interface with MEMS device |
| 1: Input N, θ 2: Input Vb 3: Input Ts= θ/100 4: Generate w = rand[N,1] 5: Perform thresholding on w to change to binary mask 6: for i = 1,2,...,T do 7: for j = 1,2,...,θ do 8: Generate and Maintain J = w[j]∗Vbusing data acquisition system 9: for k = 1,2,...,100 do 10: Acquire MEMS velocity from vibrometer 11: Acquire shaker velocity from shaker controller 12: Store into array Array 13: Store into array Array 14: Wait Ts 15: end for 16: end for 17: end for |