Community Profile

# Fede C 2018 London

Last seen: environ un mois il y a Actif depuis 2017

#### Content Feed

Afficher par

Question

how to re-arrange panel data
Hi all, This is a question about cleaning data. I have some population data for a large number of countries, by year, by age b...

environ 2 mois il y a | 1 réponse | 0

### 0

réponse

Question

Undefined function 'savetofile' for input arguments of type 'sym
Hi all, I'm using a co-author's program from a published paper and while running his code with different data, I ran into th...

3 mois il y a | 1 réponse | 0

### 1

réponse

Question

How to pre-allocate a matrix (from cell) when dimensions change
Dear all, B is a 1x3 cell. The 1st element is empty (it doesn't matter because my loop will start at position 2). the other el...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

how to use sum and isnan across two different matrices
Hi all, How does one use sum and isnan to compare values in rows located in different matrices? sum(isnan(data(i,2:end)),mat...

plus d'un an il y a | 1 réponse | 0

### 0

réponse

Question

filling a cell array with pairs of columns of different length in a loop where one column remains fixed (but may vary in size) and the other changes with the loop
Dear All, I’m stuck with something intractable. I have some raw time series, where the rows of NaNs at the start and end of...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

Extract one element from a matrix in a loop and save unto a vector
Hi there, I'm trying to store the correlation coefficients between one variable and 6 (respectively) leads and lags of another...

plus d'un an il y a | 1 réponse | 0

### 0

réponse

Question

How do I take the mean of each row every third column?
Hi all, This is what I'm trying to do- E is a 65x900 array, and I want to extract from that the mean for each row of every t...

environ 3 ans il y a | 1 réponse | 0

### 1

réponse

A répondu
how do I go about creating and storing data for a monte carlo simulation?
I think this does it. For those who might need to do something similar: clc; clear; par.muorig = 5; par.sigmaorig = 5; ...

environ 3 ans il y a | 0

Question

how do I go about creating and storing data for a monte carlo simulation?
Hi all, This is my ham-fisted attempt to assign memory for the above. Let's say that I want my simulated data to be normally...

environ 3 ans il y a | 1 réponse | 0

### 1

réponse

Question

Randi worked in a program I ran 5 weeks ago, today it doesn't-what gives?
Dear all, I had a perfectly-functioning program that used this line: c = randi([1,n],mn,1) where n and mn are integers. I'...

environ 3 ans il y a | 1 réponse | 0

### 1

réponse

Question

Mscohere-why would the coherence tends to 1 as nfft increases?
Dear all, Does anyone have a clue as to why -using mscohere- the coherence becomes exactly one for all frequencies if nfft i...

plus de 3 ans il y a | 1 réponse | 0

### 0

réponse

Question

How to store columns of different lengths using cells
Dear all, I understand that in order to store column vectors of different length one ought to use cells. I fail to see my mist...

plus de 3 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to preserve column titles from a table created with array2table when I copy and paste into excel
Dear all, My problem is to do with copying and pasting a table created with array2table into excel. I seem to be able to onl...

plus de 3 ans il y a | 1 réponse | 0

### 1

réponse

Question

what's a smarter way to associate numbers in an array to variable names?
I've asked this in the comments as a follow up to another question, but I think I broke etiquette because it wasn't related.. I'...

presque 4 ans il y a | 1 réponse | 0

### 0

réponse

Question

How to access a string array and use the contents as titles within array2table
Meancoh is an 24x6 ordinary array. meancoh=zeros(TT2,n1); I've created a 6x1 string array called storehere, that, if accesse...

presque 4 ans il y a | 2 réponses | 0

### 2

réponses

Question

How do I keep track of string values relating to columns before I shove everything into a table?
Dear all, I posted on this before, but having included the whole script, I think it was a big ask for anyone to bother with it...

presque 4 ans il y a | 1 réponse | 0

### 0

réponse

Question

Is it possible to zero-pad series when using MSCOHERE?
fft allows one to zero-pad, and mscohere, after all works with auto and cross spectra, which, presumably, have all been calculat...

environ 4 ans il y a | 1 réponse | 0

### 0

réponse

Question

how to get rid of NaN column by column
Dear members, I have a program that allows me to what I set out to do on a single time series. Now that I’m satisfied with...

environ 5 ans il y a | 2 réponses | 0

réponses