Community Profile

photo

Wesso


Last seen: 7 meses hace Con actividad desde 2019

Estadísticas

  • First Answer
  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


error using the join function
FinalData = join(All,M4,'Keys','ID','Year'); % I want to join All and M4 based on the common variables ID and Year. I want all...

7 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Automatically sorting years and quarters in a serial number
Hi, I have alarge sample of quarterly data. I have years (example 1990....2022) and quarters (1,2,3,4). How can i generate a s...

alrededor de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


Creating automatically a folder name and cd the folder based on excel file name
Hi, I have excel names based on countries. for example I have Iraq.xlsx file save under C:\Documents\MATLAB so, I write : T = r...

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

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


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

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

1

respuesta

Pregunta


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

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

2

respuestas

Pregunta


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

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

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

1

respuesta

Pregunta


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

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 4 años hace | 0 respuestas | 1

0

respuestas

Pregunta


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 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 5 años hace | 2 respuestas | 0

2

respuestas

Respondida
counting across complementary columns
i will stick to b since it is more important to my analysis:

alrededor de 5 años hace | 0

Pregunta


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 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 5 años hace | 1 respuesta | 0

1

respuesta

Respondida
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 5 años hace | 0

Pregunta


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 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 5 años hace | 1 respuesta | 0

1

respuesta