After rereading your question I realized that my post probably isn't helpful. You can change the color of the * by using the formatting sample I suggested. Like '-*g'
Is this a matlab programming course? Or a math class?
Without knowing what it is you need to do. I'd solve the problem by defining a linear space, solving the line equation between the points and filling the linear space with points on the line, then plotting these points.
Part b should be simple once you're done with part a. You just pack your code into a function block, name the file the same thing and you can call the command from the terminal in Matlab.
0
Is this a matlab programming course? Or a math class?
Without knowing what it is you need to do. I'd solve the problem by defining a linear space, solving the line equation between the points and filling the linear space with points on the line, then plotting these points.
Part b should be simple once you're done with part a. You just pack your code into a function block, name the file the same thing and you can call the command from the terminal in Matlab.
0
Plot(pts, "b")
The last argument to plot commands is typically the formatting of the line.