If you know the values of x and y, then you can use the plot function. This line of code creates a plot of the data in y versus the corresponding values in x.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
3 Comments
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/674363-y-a-b-x#comment_1177888
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/674363-y-a-b-x#comment_1177888
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/674363-y-a-b-x#comment_1177913
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/674363-y-a-b-x#comment_1177913
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/674363-y-a-b-x#comment_1178193
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/674363-y-a-b-x#comment_1178193
Sign in to comment.