# L'O.G.

**Statistics**

**MATLAB Answers**

**78** Questions

**0** Answers

RANK**200,156**

of 271,295

REPUTATION**0**

CONTRIBUTIONS

**78** Questions

**0** Answers

ANSWER ACCEPTANCE **
79.49%
**

VOTES RECEIVED**0**

RANK

of 18,295

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 119,850

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Padding a cell array?

How do you pad every other element of a cell array with a blank value thereby doubling the length of the cell?

3 days ago | 1 answer | 0

### 1

answerQuestion

Error bars with categorical data type

I am trying to plot error bars in y for data that are categorial type in x. I get an error message saying Error argument 'err...

3 days ago | 1 answer | 0

### 1

answerQuestion

Finding min and max values in a structure

For a 1x1 structure with multiple fields, each field consisting of a cell of numbers, how can you find the minimum and maximum v...

3 days ago | 3 answers | 0

### 3

answersQuestion

Rounding down when doing division in Matlab

How do you round when dividing such that 1/7 = 1 2/7 = 1 ... 7/7 = 1 8/7 = 2 ... 14/7 = 2 15/7 = 3 etc.

4 days ago | 1 answer | 0

### 1

answerQuestion

Differences in power law fit vs. linear fit on log-log scale

I am fitting data using cftool to a power law, i.e. , and comparing it to the 1st-order polynomial fit, i.e. when I take the ba...

4 days ago | 2 answers | 0

### 2

answersQuestion

Analyzing different sections of an array

How do you analyze the first 10 columns of an array (all rows) and columns 11-20, 21-30, and so on, separately?

5 days ago | 1 answer | 0

### 1

answerQuestion

Reshaping a cell array

I have a cell of cells, where each internal cell is a vector of numbers of type double. How can I reshape this in a less cumbers...

8 days ago | 1 answer | 0

### 1

answerQuestion

Replacing part of an array with another

How do I replace the diagonal of one 2d array with the diagonal of another? The arrays have the same size.

23 days ago | 1 answer | 0

### 1

answerQuestion

Duplicating an entire vector

How do you duplicate an entire vector? For example: A=[1 2 3 4]; How do I get the following? 1 2 3 4 1 2 3 4 1 2 3 4 ...

23 days ago | 2 answers | 0

### 2

answersQuestion

Generating the laplacian for a sub-graph that still reflects the connectivity of the overall graph

Generating a sub-graph I think by convention breaks all edges between the sub-graph and the rest of the graph. Is it possible to...

1 month ago | 1 answer | 0

### 1

answerQuestion

How do you remove non-integer values from a colorbar?

My image only has integer values, so including the non-integer values in the colorbar is something I'd like to not do.

3 months ago | 2 answers | 0

### 2

answersQuestion

How do you remove tick marks (not labels) from a colorbar?

I have a figure plotted with imagesc and the associated colorbar. How do I remove the tick marks from the colorbar?

3 months ago | 2 answers | 0

### 2

answersQuestion

How do I make a red and blue colormap?

I can plot a matrix of integers using imagesc. How do I make a discrete colormap (i.e., only for the integers) with a gradient o...

3 months ago | 1 answer | 0

### 1

answerQuestion

Padding a vector with zeros

How do I pad a vector of type double so that there are say 5 elements with zeros after every 3rd element in the original vector?...

3 months ago | 1 answer | 0

### 1

answerQuestion

How do I take the average of elements of a vector depending on the values of another vector?

Given two vectors, how do I take the average of values in one vector depending on what the value is in the second vector? For...

3 months ago | 2 answers | 0

### 2

answersQuestion

How do I insert one array into another?

I have two arrays with elements of type double. I want to insert the 1st column of array 2 after the 1st column of array 1, the ...

3 months ago | 1 answer | 0

### 1

answerQuestion

Cell array to double array?

I have a cell array with each element a vector of type double. How do I convert this to an array of type double?

3 months ago | 1 answer | 0

### 1

answerQuestion

Removing the suffix from a variable name

I have many variables all called something like A_YYY where YYY can be any combination of characters and numbers of different le...

5 months ago | 1 answer | 0

### 1

answerQuestion

Replacing values in array with values from another array

The values in each row of an array correspond to the values i, j of an upper triangular array. How do I return a vector with ele...

5 months ago | 1 answer | 0

### 1

answerQuestion

Replacing elements in a vector

The values of an array match the index of elements in a vector. For example, the value of 5 in array1 below corresponds to whate...

5 months ago | 2 answers | 0

### 2

answersQuestion

How do you get all pairs without double counting?

Given, say, 10 numbers, how do you get all possible pairs between the numbers without double counting? Order doesn't matter, so ...

5 months ago | 1 answer | 0

### 1

answerQuestion

Geometric mean with logarithmically spaced data?

This is partly a Matlab question, partly conceptual. I generated three vectors with logarithmically spaced numbers using logspac...

5 months ago | 1 answer | 0

### 1

answerQuestion

Error when taking the continuous time Fourier transform

I am trying to figure out what the error is associated with taking a Fourier transform. I have a 1D vector A of 130 elements and...

5 months ago | 1 answer | 0

### 1

answerQuestion

Documentation for mean function

I have a 200×1 cell array where each element is {130×1 double}. I want the mean for all the first elements in the 200 cells, all...

5 months ago | 1 answer | 0

### 1

answerQuestion

Averaging elements for a cell within a cell array

I have a 200×1 cell array where each element is {130×1 double}. How do I take the mean of every element in each cell-within-the...

5 months ago | 3 answers | 0

### 3

answersQuestion

Symbolic expression for exponential decay

To calculate an exponential decay with a single constant , , why do you need to multiply the following by a heaviside function a...

5 months ago | 1 answer | 0

### 1

answerQuestion

Applying an anti-aliasing filter

I've been trying to understand how to design and implement an anti-aliasing filter. I'm really stuck. I have an analytic functio...

5 months ago | 1 answer | 0

### 1

answerQuestion

Using the lowpass function

In using the lowpass function, how can you suppress the display after? (The default implementation outputs plots of the time-dom...

5 months ago | 2 answers | 0

### 2

answersQuestion

Anti-aliasing filter design

Can you use the lowpass function as an anti-aliasing filter, or is there some preferrable way to do it such as using the butter ...

6 months ago | 2 answers | 0

### 2

answersQuestion

How do you determine the arguments to the `buttord` function?

This is more of a conceptual question -- there are examples on the page for this function, but how do you select what the passba...

6 months ago | 1 answer | 0