I'm just starting to learn to plot equations in 2D format in matlab and I'm having some issues getting started.
Right now I'm attempting to get two equations to display on the same plot.
I mostly don't entirely understand why I'm receiving the error message that I am.
The code I'm using so far is.
the error code I'm receiving is.
Array indices must be positive integers or logical values.
Error in Untitled4 (line 2)
This is homework, the ultimate goal is to create this plot, however, as mentioned, I'm really just having trouble even getting the equation to plot, I'm mostly just trying to get help past the minor roadblock, I'm sure I can figure out how to color code and all that afterwards. I appreciate any help, hints, tips, or recommendations, thanks!