photo

wesso Dadoyan


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 4

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
Importing to matlab a set of data with the same structure across multiple sheets
sorry the file wasn't attached in the previous post

fast 7 Jahre vor | 0

Frage


Importing to matlab a set of data with the same structure across multiple sheets
Normally, I don't post such questions since I clean the data in excel first before importing to matlab. However, I have many fil...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Comparing first n digits
Hi , I have two columns of numbers A and B. A is 9 digits and B is 8 digits. How can I find the row in B that matches A(i) in...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Concatenating horizontally two cell arrays
Hi, A{1,1}=00016510; B{1,1}=0; C=horzcat(A{1,1},B{1,1});% is giving C=00016510 (1x9 char although 8 digits appear) ...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Left 6 digits of a 9 digit number that could be incomple
I have a column of 9 digit numbers that I want to trim to the left 6 digits.For example,931146104 should be 931146. Sometimes fo...

etwa 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


inner join with a conditional statement
Hi, I have an id that could pertain to two different companies depending on the date of the observation. For example id=1 cou...

etwa 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to make matlab start by opening a folder than doesn't have a matlab folder as a root
Hi, I want matlab to open a folder C:\Users\w\Documents\paper1 automatically when I start it instead of manually searching th...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


innerjoin error and potential matching questions
Hi, 1. I am matching two tables based on ticker but i receive the following error Error using tabular/innerjoin (line 10...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


find observations with nonconsecutive numbers
A=[55; 56; 57; 58; 26; 27; 28] I want to find the observations in A where the two consecutive observations are not equa...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Faster codes in a loop
Hi, I have a sequence of dates and firms. For each firm I want to compute the median return on equity for the peers that are ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding the relationship between three columns
I have a data set (attached in zip) downloaded from a database. the first column(date)is the dates column, the second is the id ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


writetable function doesn't produce any output
The code: writetable(t3,'C:\Users\w) is not producing any output. Any reason for that? (I am attaching the file that con...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Leaping loop with constant rows for each identity
I have a vector where the first 80 rows belong to a company, the 2nd 80 to another company ... last 80 rows belong to company N ...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


using find(ismember) instead of a loop?
I have matrix B which is has around 1 million rows and Matrix A which has 800,000 rows. I want to match the observations of A a...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


converting number to date number
I have a column of dates that are number (double format) such as 19940127 how can i convert it to matlab numeric date that corr...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Find index of cells containing a string
Hi , Attached the "text" cell array. I tried to find the index of cells that match the string 'CERT'. I tried many approaches...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to download the mat files of examples provided by Matlab
Hi, I was looking at the MACD function in matlab . In the example they report the following: This example shows how to compu...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


textscan formatting to import a large text file
fid = fopen(FileToLoad,'rt'); data = textscan(fid, colFormats,'HeaderLines',1,'Delimiter','\t'); fclose(fid) I have a...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


importing selected columns of text files with headers where the missing value is a dot
I have many files that are large where the first row is a header row. The files are tab delimited and I want to import only sele...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Aggregating selected variables from multiple mat files
I have 276 mat files (each corresponds to a month for a specific year starting 1993 till 2015). In these files I have numeric ve...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


getting excel variable in a loop
Folder=pwd; d = dir('bhcf*.xlsx'); N_File=numel(d); e = actxserver ('Excel.Application'); h=waitbar(0,'Progress......

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Forcing fsolve to be positive
ire = fsolve(@(re) Pgls(P,BV0,FROE,B,re),re0); is their a way to force fsolve to return a positive ire?

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


finding a string with parentheses using regexp
A={'5123(P)';'5123 ESP'} how can i search A to find the cell that has the '(P)' string? find(~cellfun(@isempty,regexp(A,'(...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


finding a string in a cell array
ids1='519448(EPS1MN)' '519448(EPS2MN)' '519448(EPS3MN)' '519448(EPS4MN)' '519448(EPS5MN)' '519448(LTMD)' '519448(P)' '519...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Removing duplicate observations in a Matrix where the rows are not completely identical
Hi, I have Matrix A, where many rows are like in the attached image. column 1 is the id of the company and column 2 is the d...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Input A of class cell and input B of class double must be cell arrays of strings, unless one is a string
A= 89830410 50590220 '33762X10' '02837P30' 57832110 '25037Y10' 13063010 '09972F10' ...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


joint find statement using ismember & ~ismember
Hi, I wrote the following code: xe=find(ismember(ID,IDA) & ~ismember(DateID,DateIDA)); but it is failing to capture what I ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


replace any nan value in the table by zero
I have a 34420x229 table I want to replace any nan value in the table by zero. how can I do so ?

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Appending variables from different mat files
Hi, I have many mat files that contain the same variables. Is there any function that would help me to append these variables...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


strange output when using writetable function
t=table(x,y,ID) %x,y are vectors, ID is cell array writetable(t,'Data.xlsx'); I am getting for ID an output which ID_...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Mehr laden