In MATLAB, I need to create a loop to iterate through the entire string array and plot.
In other words, First Iteration: the loop steps to Montana with its value (23,45) and generates plot.
Second Iteration: continue the loop to Georgia with its value (54,75) and plot.
Third Iteration: continue the loop to Texas with its value (55,90) and plot. So, we have 3 different plots for each string.
Here is the array:
A = {'Montana','Georgia','Texas'};
with X values:
X = [23, 54, 55]
with Y values:
Y = [45, 75, 90]
Thanks,
Amanda