Representing data from File !
Show older comments
Hello Guys, I have a data in a file consists of two columns one for the arrival time and the other one for the Energy(ev).. I want to represent the data in the x-axes region so I will be able to estimate its function using kernel density function.. I am not sure how to represent the data in the x-axes though? I did once represent the data in the x-axes like a little dashes way and I used(repmat)but with this case I don't have any idea how to do so.. In this link there is an image and if you look at the x-axes you will see some dashes that are more in some area and less in another, thats exactly what I am looking for so I will be able to estimate its function later on..
Also, in my previously asked question you can see if you run it what I mean by "little dashes on the x-axes(red data))
Thank you all,
3 Comments
Jan
on 31 Jul 2011
You've asked a lot of questions before. Which one do you mean by "previously"? Surely you do not expect us to read all your questions and guess, what you are talking about.
Susan
on 31 Jul 2011
Walter Roberson
on 31 Jul 2011
duplicate is at http://www.mathworks.com/matlabcentral/answers/12733-plot-data-from-file
Accepted Answer
More Answers (1)
Jan
on 31 Jul 2011
2 votes
Do you want to represent the Energy or the arrival time in the X-axis? The small dashs at the bottom of the shown image represent just a binary signal versus time, e.g. the arrival times of detected signals. Therefore it is not clear, how you want the two data sets to be represented in a diagram. The small dashs with equal size simply do not match to your data.
5 Comments
Susan
on 31 Jul 2011
Susan
on 31 Jul 2011
Jan
on 31 Jul 2011
If the energy does not matter your question at all, mentioning it increases the confusion level only.
Do you want to draw a histogram plot? See "doc hist" and "doc histc".
Jan
on 31 Jul 2011
set(gca, 'YLim', [0, 10])
Susan
on 31 Jul 2011
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!