Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
S=20; % number of initial susceptible I=5; % number of initial infected R=0; % number of initial recovered N=S+I+R; % total population / # of bodies...
I need help with plotting my matlab program using the scatter function. I have tried plotting it but don’t know if it is in the correct format or if i plotted it in the correct place in my program. Attached is the basic components of my code. I want the color of the markers to be different, but I do not know how to properly code it/ where the code should go in the program. How can I program it so the marker is ref it popState(i)==0, blue if popState(i)==1, and green if popState(i)==2? I want the markers to change colors as the program runs and as the individual popState of each of the markers changes.