Histogram in Matlab for data bigger than a threshold -


how can plot histogram of vector (say b) elements of vector bigger number (say n)?

if generated column vector of 30 random numbers uniform distribution:

x = rand(30,1); 

and wanted use cutoff of n = 0.3 (from notation above), instead of using values:

hist(x(x>0.3)); 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -