Question: MATLAB: Create an array called h one element at a time. Start with the first entry as 1. The next entry is the previous entry
MATLAB:
Create an array called h one element at a time. Start with the first entry as 1. The next entry is the previous entry cut in half:
h(i + 1) = h(i) / 2
We want small values, but we'll stop when the last entry is less than 10^-13. A while loop is useful here because we don't know how many entries this requires, but we can keep cutting in half while each entry satisfies a certain criteria. To be clear, the very last entry will be less than 10^-13, but all other entries will be greater than 10^-13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
