![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189030/image.png)
Linear regression for a dataset
2 views (last 30 days)
Show older comments
I have two vectors in the attached file. The variable with wind speed has missing data points. I would like to know if there is a way to fit a linear regression method to the vectors, time vs wind speed?
2 Comments
Akira Agata
on 9 Apr 2018
Looking at the Time vs Wind Speed plot, I don't think linear regression is suitable way to fit your data.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189030/image.png)
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!