photo

Sim


Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Can anyone help me clean up this code?
The function below is used to plot histograms for any give data. Basically what I wnat is to display the mean, median and std on...

12 years ago | 0 answers | 0

0

answers

Question


how can I add a figure while asking a question here at matlab central?
I am trying to add a histogram image here but I do not know how to do that?

12 years ago | 2 answers | 0

2

answers

Question


How to tag output of function which is a vector in a new array/matrix in increasing order?
I have an output of a function which is a vector: a = [ 4 3 8 27 10] These are all the indices. My function runs for a...

12 years ago | 1 answer | 0

1

answer

Question


How to save the output of a function in an array or cell?
I have a function which is called from within a script. The function is in a between a for loop. So basically everytime the Func...

12 years ago | 1 answer | 0

1

answer

Question


Subtracting Values in a cell with respect to results from nchoosek?
Suppose I hav an array a which are basically indices of some values a = [1 2 3] b = nchoosek(a,2) c= size(b) ...

12 years ago | 1 answer | 0

1

answer

Question


How to display median and mean on the histogram but should not overlap if same?
I am plotting some histograms but I have a small issue. If the mean and median are same then they overlap(which is perphas corre...

12 years ago | 1 answer | 0

1

answer

Question


How to create a vector?
Hello everyone, Suppose with a for loop I get an array for each file (array could be of different lengths for each file). I wan...

12 years ago | 1 answer | 0

1

answer

Question


How can I limit the maxmimum number of files to be loaded from a database?
Suppose I have a database of 200k files (.mat files) but I want to randomly open only 15000 files out of those 200k. Is there a ...

12 years ago | 1 answer | 0

1

answer

Question


Need help with this code..
Hello everyone, I am writing this function for plotting histograms. I need help with making this code very generic. That is ...

12 years ago | 1 answer | 0

1

answer

Question


How to get a vertical histogram, as in the X axis should be displayed vertically?
When we plot the histogram we get the x-axis horizontally. I want to have x-axis displayed vertically and y-axis horizontally, a...

12 years ago | 1 answer | 0

1

answer

Question


How to find duplicate values and what are they duplicates of?
Suppose I have an array X = [2;5;1;2;2;0;0] With unique I get the unique values and the indices of the duplicates but I al...

12 years ago | 1 answer | 0

1

answer

Question


How to convert a cell array (nx1) with different size of elements in each cell to a matrix?
Suppose I have a nx1 cell as follows: X = [0,160,208] [272,132] [1272,133] [22724,310] [27516,312] [30424,374,687] [3226...

12 years ago | 1 answer | 0

1

answer