Community Profile

# Ms. Mat

17 total contributions since 2011

Professional Interests: Econometrics and Finance

Contributions in
View by

Question

subtract from each element its mean / find absolute deviation across rows
A = [1 2 NaN; 4 NaN 6; 7 8 9] A = 1 2 NaN 4 NaN 6 7 8 9 mn = nan...

4 years ago | 1 Answers | 0

### 1

Responded

Re: find zeros and replace with NaN
Hi, I just had a situation where I did A(~A) which returned an error message "NaN's cannot be converted to logicals." So I gues...

4 years ago | 20561 views

Question

Eliminate nested FOR loop
I have time series data in a double array. The first column is datenum and all other columns are corresponding data d...

4 years ago | 2 Answers | 0

### 2

Question

Conversion of arrays to cell array
I have time series data as a pivot in an array. The first row and first column are headers. x = NaN 10...

4 years ago | 1 Answers | 0

### 1

Question

How do I find the number of occurrences of NaN and the corresponding subscripts in an array
A = NaN 100 101 102 103 104 201 2 7 3 2 2 202 NaN 8 4 5 6 203 NaN NaN 2 3 5 205...

4 years ago | 1 Answers | 0

### 1

Question

Mean of every row in a double matrix without looping
Is it possible to find mean and std dev. of every row in a huge matrix with double data and a lot of NaN interspersed without lo...

4 years ago | 1 Answers | 0

### 1

Question

Count the number of occurances of an element using accumarray
Now I am trying to find the occurance of an element in a vector using sum(dta(:,size(dta,2))==3); How can accumarray be us...

4 years ago | 2 Answers | 0

### 2

Question

Aligning Time Series data and calculating CAPM beta.
I have time series data(daily) for 10 years for 500 firms. I would like to calculate monthly beta. I have the data on an excel s...

4 years ago | 1 Answers | 0

### 1

Question

Consolidate Substring Code using Cellfun
I have read data from an excel sheet. The data Iam trying to manipulate is in the second column. First line is the header. i wou...

4 years ago | 1 Answers | 0

### 1

Posted

Using Anonymous function to extract last 4 characters of a string
Hi, I am trying to extract last 4 characters of a string and trying to check if it contains a '/' in it. There are similar que...

4 years ago | 1364 views

Question

Datenum - different date formats
*Background* I have an excel sheet with different date formats (in excel some are in General format, some in date format tota...

4 years ago | 2 Answers | 0

### 2

Question

Datenum Mystery - different date formats - but results are the same
*Background* I have an excel sheet with different date formats (in excel some are in General format, some in date format tota...

4 years ago | 1 Answers | 0

### 1

Question

Choice of data structure - cellarray or dataset
I have data of the structure 3 columns by 1.5 million rows. Each column is a variable namely cocode, date, price. I would like t...

6 years ago | 2 Answers | 0

### 2

Handling memory issues by connecting to database and retrieving only required data
Yes. Your right. The file has just 3 columns with 2 numeric and 1 string column. I increased the virtual memory and the problem ...

6 years ago | 0

Question

Handling memory issues by connecting to database and retrieving only required data
I have an excel file as large as 20MB with roughly abt 1.5 million rows. I run out of memory while I perform any sort of operati...

6 years ago | 2 Answers | 0

### 2

Question

Memory issues in using xlsread and dataset('XLSFile'...)
I have a huge file in XLSX format. While xlsread runs without memory issues, the command A = dataset(XLSFile, filename) throws t...

6 years ago | 3 Answers | 0