-3

I have a 4-Dimensional data (.nc file with type double). how do i get a frequency distribution plot (line plot not histogram) for data in different range?

Abida
  • 3
  • 3
  • Adding some example will be helpfull, meantime have a look at [`tabulate`](http://www.mathworks.com/help/stats/tabulate.html) for generating the frequency data. – EBH Jul 08 '16 at 12:30

1 Answers1

0

You could try this:

A=rand(100,1);
h=histogram(A)
x=[1:h.NumBins]
plot(x,h.Values)

Not sure thats exactly what you are looking for.

You could also use the not recommended function histc as described in this post

MATLAB : frequency distribution

Community
  • 1
  • 1
KiW
  • 593
  • 3
  • 20
  • Rather than posting an answer without understanding the question, try commenting to clarify first. – Suever Jul 08 '16 at 12:23