how to plot normalized column vs another colomn
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Joseph Cheng
on 7 Apr 2017
Edited: Joseph Cheng
on 7 Apr 2017
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
1 Comment
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!