I have two vectors A = [12 21 23 14 15 36 63 63 .... ] ( of 100 values ) and another vector B = [1:1:100].
Now i want to plot a bar graph such that i can plot the values of A on Y axis for corresponding value from B vector on X -axis. E.g. to plot 12 for 1, 21 for 2 , 23 for 3 and so on.
I tried doing hist(A,B) but it did not work. Let me know some another approach.
