photo

wesso Dadoyan


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

Feeds

View by

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

nästan 7 år ago | 0

Question


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

nästan 7 år ago | 1 answer | 0

1

answer

Question


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

ungefär 7 år ago | 1 answer | 0

1

answer

Question


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

ungefär 7 år ago | 1 answer | 0

1

answer

Question


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

ungefär 7 år ago | 2 answers | 0

2

answers

Question


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

ungefär 7 år ago | 0 answers | 0

0

answers

Question


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

ungefär 7 år ago | 1 answer | 0

1

answer

Question


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

ungefär 7 år ago | 1 answer | 0

1

answer

Question


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

mer än 7 år ago | 2 answers | 0

2

answers

Question


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

mer än 7 år ago | 1 answer | 0

1

answer

Question


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

mer än 7 år ago | 1 answer | 0

1

answer

Question


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

mer än 7 år ago | 1 answer | 0

1

answer

Question


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

ungefär 8 år ago | 1 answer | 0

1

answer

Question


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

ungefär 8 år ago | 1 answer | 0

1

answer

Question


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

ungefär 8 år ago | 2 answers | 0

2

answers

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 0 answers | 0

0

answers

Question


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?

mer än 8 år ago | 2 answers | 0

2

answers

Question


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,'(...

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 2 answers | 0

2

answers

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 2 answers | 0

2

answers

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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 ?

mer än 8 år ago | 2 answers | 0

2

answers

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 9 år ago | 0 answers | 0

0

answers

Load more