photo

Gabriel Sammut


Last seen: 4 years 前 自 2020 起处于活动状态

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

2

个回答