how to move the graph vertically downward to zero?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi all,
In the attached graph there are 2 types of data the blue one is observed those are I want calculate the mean and shifting the graph to zero (over the red one). how can I do those calculating and shifting?
thank you in advance
댓글 수: 0
답변 (1개)
Star Strider
2015년 7월 5일
Take the mean of the blue series and subtract it:
new_blue = blue - mean(blue(:));
Without your data I cannot get any more specific. The ‘blue’ here are the dependent variable data. Your independent variable (for example x) remains unchanged.
댓글 수: 4
Image Analyst
2015년 7월 5일
lina, come on. This is like a comedy of errors. Do you think we'll now be able to run this without giving us the jeddah.csv file?
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!