# L'O.G.

**Statistics**

**MATLAB Answers**

**61** Questions

**0** Answers

RANK**251.788**

of 262.775

REPUTATION**0**

CONTRIBUTIONS

**61** Questions

**0** Answers

ANSWER ACCEPTANCE **
80.33%
**

VOTES RECEIVED**0**

RANK

of 17.989

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 113.765

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

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...

25 dagen 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...

28 dagen 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...

28 dagen 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 ...

28 dagen 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...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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 ...

2 maanden 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...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

How do you calculate a correlation function in MATLAB?

I am trying to calculate the correlation function given by where I sum over all i ("part" in the following). Do I just choose...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

Error with pinv in MATLAB r2018a

I am taking the pseudoinverse of a matrix using pinv but get the following error: Error using svd SVD did not converge. E...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

How do you build multiple cell arrays from the columns of an array?

Given an m x N array of type double, how do you separate the columns into cells so that you have N, m x 1 cell arrays?

3 maanden ago | 1 answer | 0

### 1

answerQuestion

Using vertcat for cell array of differing length

I have a 3 x 2 cell array consisting of elements that are vectors 1 x N where N changes. How do I find the vector of minimum len...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

How do you average vectors in a cell array?

A cell array of vectors of type double, say: 1 x 10000 1 x 10000 1 x 10000 How do you average the values into one array ...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

What determines the maximum frequency when taking the FFT?

This is part conceptual, part MATLAB, but how do you set the maximum frequency when taking the FFT of a signal? According to the...

3 maanden ago | 2 answers | 0

### 2

answersQuestion

Taking the fft of a signal sampled above the Nyquist rate but getting strange results

I have been trying to reproduce a frequency domain function from a time domain signal, but getting nothing like what I expect. ...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

Trying to understand the single-sided FFT

For a single-sided FFT, is it correct to multiply the FFT by 2, if so why? Also, I have seen some examples that take the absolut...

4 maanden ago | 4 answers | 0

### 4

answersQuestion

Adding nodes from a sub-graph to a larger graph

I have an adjacency matrix for a graph consisting of 10 nodes and the edges between them. But they are part of a larger graph, a...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

Setting elements of an array to be zero based on the values of a vector

I want to take the matrix A (as an example) and set all elements of A that have either their row and/or column as a value in B t...

4 maanden ago | 4 answers | 0

### 4

answersQuestion

Setting an element of an array to zero based on the values of a vector

Given a 2D array with elements a(i,j), if either i or j matches any element in another vector, how do you set the value for that...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

Finding elements common to both arrays

Given A = [1 2 3 6 7 9 10]; B = [4 7 8 10]; How would I determine that 7 and 10 are common to both vectors? find(ismem...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

How do you set the x axis ticks / labels to be equal to the y axis ones?

I thought I could do this by the following, but it's not working: ax1 = gca; set(ax1,'XTick',get(ax1,'YTick')); Instead, ...

4 maanden ago | 2 answers | 0

### 2

answersQuestion

Finding characters in a string / filename

How would I return as a double the number after the letter in the following file name? For instance, in the following, I would l...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

Finding the number of edges per each node in a graph

How do you find the number of edges per each node in an undirected graph? The following isn't quite what I want as it double cou...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

Alternative to writecell?

The function writecell was introduced in R2019a to write the contents of a cell array to a file. What would be the previous way ...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

Keeping the rows in an array with specified numbers

I want to keep the part of the array with specified numbers in column 2. This deletes the rows in the array with the specified n...

4 maanden ago | 1 answer | 0