How to get a hist graph with normalized data on both axis

2 visualizzazioni (ultimi 30 giorni)
Using following code but also want to have normalized y axis to see how much % data points have which value. Pls suggest.
clear, clc
v1=xlsread('T_g13_3.xlsx');
[normData_v1,maxD,minD]=normalize(v1);
x=[min(normData_v1):0.1:max(normData_v1)];
v1_hist(x,y)=hist(v1,x);
plot(x,v1_hist,'g*')

Risposte (0)

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by