I am stuck in the initiation of my while loop. I attached the file and an image of the code. I've done everything I can think of but I'm still learning and can't see what I'm doing wrong here.
MATLAB: My while loop is giving an error “Array indices must be positive integers or logical values.” I’m trying to calculate the golden ratio within epsilon 0.001.
vectorizationwhile loop
Best Answer