Gabriel Sammut
Followers: 0 Following: 0
Feeds
提问
Hi, I am doing an assignment and need some help. How can I do vertical part lines (from ex. y=1 to y=3x+2), for x=1:1:10). Also, I do not know how to calculate the distance of such part-lines. How can I do this?
x=[1 2 3 4 5 6 7 8 9 10]; y=[17 7 15 13 17 34 35 30 46 31]; %% generating scatter plot for the above data sets scatter(x,y)...
4 years 前 | 2 个回答 | 0