photo

YM


Active since 2019

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Linear Regression, line of best fit
If I have data for vectors x = [ ] and y= [ ], how do I find and plot the linear regression/line of best fit? Once I have plotte...

5 years ago | 2 answers | 0

2

answers

Question


Probability in printing text
I want, upon starting my function, for one of 5 text statements to be printed. There should be 1/5 chance of any one appearing, ...

5 years ago | 1 answer | 0

1

answer

Question


Print from Command Window
"Print your functions/script and results of test runs from the command window." How would I go about doing this? How is this di...

5 years ago | 0 answers | 0

0

answers

Question


Filling in a polygon
x8=[0 5 1 2.5 5]; y8=[2 2 5 0 5]; figure(7) plot(x8,y8) fill(x8,y8,'Red') I used the above in the hopes of having a (re...

5 years ago | 1 answer | 0

1

answer