Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to depict the histogram envelop in matlab

Status
Not open for further replies.

firephenix405

Junior Member level 2
Junior Member level 2
Joined
Apr 19, 2003
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
102
matlab plot enveloppe histogram

I generate a sequence of random variable in Matlab, and sketch its histogram using function hist(), but now I want to sketch its histogram envelop, not only histogram,

how should I do??
 

d u mean by envelope the frequency curve?
 

u can use the histc as follows
[N,C]=histc(A,n);
%N is an array of histogram amplitudes
%C is an array of corresponding centers
%A is the array of input data
%n is the number of segments of the histogram
%i.e. n =length(N) or length(C)
plot(C,N);
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top