Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to plot a linear fit (or Ordinary Least Squares)?

조회 수: 1 (최근 30일)
HelpAStudent
HelpAStudent 2021년 10월 6일
마감: Rik 2021년 10월 6일
Hi, I have to analyze some data and put them in a graphics.
I have a matrix with the mean and another one (with the same size) of the standard deviation.
Each matrix is 6x21. I want to plot 6 different curvers of the mean with a line for the standard deviation, something like that:
But with 6 curves in the same plot (Each row of the matrix will be a curve of the graph).
How can I do it?
  댓글 수: 3
HelpAStudent
HelpAStudent 2021년 10월 6일
How? Can you give me the code?
Rik
Rik 2021년 10월 6일
Sure:
doc errorbar
doc hold
Have a read here and here as well.

답변 (0개)

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by