Pregunta


deleting nan rows in a matrix
Hi, is there a simple method to delete the rows in which there is a nan in a matrix? I wrote the codes this way: [x1,y1]=fin...

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


converting date to matlab date
Hi, I have a date 20100815 that I want to convert to a matlab serial date. I tried datenum(20100815,'yyyymmdd') but i recei...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


sorting a matrix according to another matrix
Hi, I have a 2x200000 matrix A where the 2nd column is an ID column.Then I have another 6x200000 matrix B in which also the f...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Last non nan observation
Hi, I have a matrix and I want to find in each column the last non nan observation. Is there a neat way of doing it quickly? ...

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


extracting a number from a cell
Hi, I have a vector where each cell has the following format: OHN HANCOCK LF.IN. 2004 5.32% 15/04/14 INDXLK. A...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


finding a change in a matrix
Hi, I have a matrix in which each column is usually constant but sometimes the value changes. Is there a way to figure out wh...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Matching two numbers using only 2 decimal points
Hi, I have 2 numbers that I want to match in my program and if these don't match I want to receive an error message. The two ...

más de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


find structure
I have 2 structure vectors A and B. I want to find the files in A that are not in B I used x=find(~ismember(A,B)); I received...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Respondida
A time killing loop
I changed the names of the variables so that they can appear in a readable format and I cut my huge data to a very small sample ...

más de 12 años hace | 0

Pregunta


A time killing loop
Hi, I have a loop which is taking ages. I am wondering if someone can make it more efficient. %% x1 is a vector of date rows...

más de 12 años hace | 3 respuestas | 0

3

respuestas

Pregunta


renaming mat and subdirectories
Thousands of files and subdirectories contain as part of their names a wrong name "Naic" that I want to change to "Trace". Is it...

más de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


filling nans between two values
Hi, I have matrices in which I want to fill the nans with the last available number. for example: A=[ 1 nan;nan 3;nan 2;4 na...

más de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Counting the non nan observations in a matrix by row
Hi, I have a matrix for which I want to compute the number of non-nan observations for each row without running a loop. is th...

más de 12 años hace | 2 respuestas | 1

2

respuestas

Pregunta


last transaction time
Hi, I have vector A of prices and cell array B of time of the transaction that has the following format 12:00:53 ; 13:07:52 e...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


ismember error
Hi, x0=find(ismember(A,B)==1) is giving me error ??? Error using ==> cell.ismember at 28 Input must be cell arrays of strin...

más de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


extracting digits from a number
Hi, I have a column of numbers with the following format: 12345678 I want to extract digits 56 and digits 78 . in a way si...

más de 12 años hace | 1 respuesta | 1

1

respuesta

Respondida
Modifying a string
that sounds good but how can i figure out how many zeros to add. c in your example consists of 4 characters but in my case it co...

más de 12 años hace | 0

Pregunta


Modifying a string
Hi, I have a cell array where in each cell I have an alpha numeric number of IDs. I want to adjust this array in a way that if ...

más de 12 años hace | 3 respuestas | 0

3

respuestas

Pregunta


finding files in a directory
Hi, I have text files that start with a1 , a2,a3b,a4b .. I was using the following loop to find the files in the directory t...

más de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Matlab report generator-Page break
Hi, I am using report table generator to print a report. One of my tables has a a row on the next page. I am wondering how to...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Loop that I am trying to get rid off
To follow up on my previous thread regarding a very time consuming routine, the main source of slowness I believe is the followi...

más de 12 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Time to run a program
Hi, I have a program running since yesterday. I am wondering if there is a way to test and approximate how much time a progra...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


number of non nan observations
Hi, I have a matrix for which i need for each row to compute the number of non nan observations . such routine is occurring fre...

más de 12 años hace | 2 respuestas | 2

2

respuestas

Pregunta


out of memory error
I am facing a continuous out of memory error and I am wondering if these codes can be modified to avoid it:where RG,PC,and Acr a...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


converting yyyymmdd date to matlab date number
I have a column of dates that have the following format: 19940127 how can i get a matlab number that corresponds to 01/27/1994...

más de 12 años hace | 3 respuestas | 1

3

respuestas

Pregunta


replacing part of a string
Hi, I have a column with cells that have the following format: US313384RJ03(GP) I want to replace "US" by 1032 and delete...

casi 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Splitting an excel file using matlab
Hi, I have a 900,000 row excel file that I want to split to 900 files. I am wondering if i can do this with matlab. the conte...

casi 13 años hace | 2 respuestas | 0

2

respuestas

Pregunta


changing the name of a variable
Hi, I know that what I am asking for is not recommended but I need it. I have a loop and i want to change the name of the var...

casi 13 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Regression Diagnostics
is anyone aware of a toolbox that deals with regression diagnostics? i want to test for every single problem that I might face i...

casi 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


sprintf inputs
Hi, I am writing a function to determine the shape of a table I want to obtain where one of the inputs in the function is n,...

casi 13 años hace | 1 respuesta | 0

1

respuesta

Cargar más