• 0

    posted a message on Need help with some MATLAB coding.
    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.
    Posted in: Off-Topic
  • 0

    posted a message on Need help with some MATLAB coding.
    Try plot with something like:

    Plot(pts, "b")

    The last argument to plot commands is typically the formatting of the line.
    Posted in: Off-Topic
  • To post a comment, please or register a new account.