Community Profile

photo

Gabriel Sammut


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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 ago | 2 answers | 0

2

answers