Question

unique is giving the same expression twice

Hi, (data is attached) [Country,~,ix] = unique(A); tally = accumarray(ix, 1); Q2= table(Country, tally); Q2 contains the sa...

3 meses ago | 1 answer | 0

Question

Replacing -999 in a table to NaN regardless of the type of the column

Hi, I have table Final with -999 and -9999 representing missing values (Data attached). I would like to replace these -999 wi...

3 meses ago | 1 answer | 0

Question

Changing values in a table

M is a table where if a specific column in M is =1 the respective rows in the subsequent columns (starting at cl1 and ending at...

3 meses ago | 1 answer | 0

Question

Exporting variable names and their respective data types to excel

Hi, I have many tables with different sizes. I am trying to concatenate these tables where the column names match but it seem...

3 meses ago | 1 answer | 0

Question

Appending 2 Tables with different column order and different number of columns

Hi, I need to append tables with different column orders but have the same header for the respecitve columns. For example A.Pr...

3 meses ago | 1 answer | 0

Question

Reassigning columns to a table

Hi, I have a table A from which I selected few columns to recompute using function correctiona. The column names are from a sur...

3 meses ago | 1 answer | 0

Question

Getting rid of loops

Hi, I am trying to clean matrix A (which is a 1064 x 4 matrix) while relying in the cleaning process on Matrices B and C that ha...

3 meses ago | 2 answers | 0

Question

Adding a categorical column to a table

I have a table and I want to a dd a categorical column to the table so that i end up with a 3 column table. How is it possible t...

3 meses ago | 0 answers | 0

Question

finding and replacing problematic cells in a table

Hi, Attached a data file that I am working on. I want to replace N/A cells with -999. I also want to find empty cells (th...

3 meses ago | 1 answer | 0

Question

Cell array to table in a display mode

Hi, I have a cell array of stored unique values that has the following format: when I tried to look at these unique values t...

3 meses ago | 0 answers | 0

Question

Joining two tables with two common columns

Hi , I have two tables A and B. They have two common columns: A's columns are Date, ID, col1, col2 etc... B's columns are ...

10 meses ago | 0 answers | 0

Question

Date format 03mar2013

Hi, I hope all is well. How can I read dates such as 03mar2013 and transform them to matlab datenumber? I hav ethese dates i...

casi 2 años ago | 0 answers | 0

Question

Matching based on working days

Hi, I have a vector A of dates and I want to create a vectors of working days that are 1 day prior, 1 week prior and 4 week ...

alrededor de 2 años ago | 2 answers | 0

Answered

counting across complementary columns

i will stick to b since it is more important to my analysis:

counting across complementary columns

i will stick to b since it is more important to my analysis:

alrededor de 2 años ago | 0

Question

counting across complementary columns

I wrote a long function (attached so that you know it is not a post by a lazy student seeking an answer for his assignment) nd t...

alrededor de 2 años ago | 1 answer | 0

Question

Replacing elements in a table

I have Table A that constitutes of arrays, Some of the columns were computed using algebraic equations. This yielded certain num...

alrededor de 2 años ago | 1 answer | 0

Question

Problems with te output of writetable function

writetable(E,'FinalMatlab.csv') I ended up with the attached output. in row 33 the columns were not written completely and inst...

alrededor de 2 años ago | 1 answer | 0

Question

error when loading a mat file

Hi, I am simple trying to load a mat file called Step1 that has only two variables t20142018 and opts.When dowloading the f...

alrededor de 2 años ago | 0 answers | 0

Question

innerjoin two tables based on the first word in the key columns

in Matrix A I have the following columns: Date AcquirorName TargetName _____ ________...

alrededor de 2 años ago | 1 answer | 0

Question

innerjoin invalid parameter name

Hi, I want to match table A with table B (they have different size) and I want to produce table C that keeps only the common ...

alrededor de 2 años ago | 1 answer | 0

Answered

Appending tables from excel with different column order

the issue is that I have a large number of columns that can have different column formats :cell,double,datetime etc... . Is ther...

Appending tables from excel with different column order

the issue is that I have a large number of columns that can have different column formats :cell,double,datetime etc... . Is ther...

alrededor de 2 años ago | 0

Question

Appending tables from excel with different column order

Hi, I am using teh following codes to append a large number of excel data List = dir(fullfile(Base,'*.xls')); Result = cell...

alrededor de 2 años ago | 2 answers | 0

Question

Closest match to a string

Hi, I need to match two tables based on the name of a company. Each table refers to the company differently. I am wondering if ...

alrededor de 2 años ago | 0 answers | 0

Question

Concatenating tables with different format

Hi, I am concatenating tables in a large loop. all these tables are imported from excel . sometimes Matlab imports the same c...

alrededor de 2 años ago | 1 answer | 0

Question

Importing and appending a complete folder of excel files

Hi, I have a folder in which I have around 225 excel files: MA1.xlsx,MA2.xlsx,....MA225.xlsx. all of them have the same colum...

alrededor de 2 años ago | 1 answer | 0