how to plot normalized column vs another colomn
조회 수: 4 (최근 30일)
이전 댓글 표시
hello matlab community, i have column such as i=1.0e+03 *[
-0.0186
-0.0386
-0.0828
-0.2184
-0.6429
-1.7906
-2.4046
-2.3125
-2.0287
-1.6919
-1.4576
-1.2357
-1.0298
-0.8806
-0.7282
-0.6215
-0.5139
-0.4438
-0.3678
-0.2828
-0.1909
-0.0873
0.0044
0.1253
0.2889
0.4730
0.6821
0.9877
1.3166
1.7460
2.3511
3.0306
4.0117
5.1284]
i want to plot i./imax vs another column like in the following picture, i don't know if i need to pick every element of the i column or just fex elements.
thank you.
댓글 수: 0
답변 (1개)
Joseph Cheng
2017년 4월 7일
편집: Joseph Cheng
2017년 4월 7일
must be missing something as you have it right there
plot("your other column",i./max(i),'.')
then you'd fit a line and error bars? not sure how or what data you'll be using to calc the error bars and the smooth curve
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!