Skip to content

Opening book details…

Can I read MATLAB Function for Iterative Plotting on EtoBox?

MATLAB Function for Iterative Plotting by Hunter Patton is a document available to read on EtoBox.

What is MATLAB Function for Iterative Plotting about?

This MATLAB function takes in a start number and number of iterations as inputs. It generates two vectors x and y of the specified number of iterations by iterating from 1 to that number, with x containing the iteration numbers and y containing the start number divided by 2 for each subsequent iteration. It then plots x vs y with blue circles and a line, labels the axes, sets the x and y limits, and returns the final value of the start number.

Author
Hunter Patton
Language
EN