Community Profile

chiefjia

Last seen: 1 year ago Active since 2021

Content Feed

View by

Question

NaNs and regress lead to error?
Dear MATLAB experts, I'm conducting multiple regressions with the function: regress In some of the regressions, data of the ...

1 year ago | 1 answer | 0

1

Question

Getting NaN as the mean of a row that contains no NaN values, Inf values, 0/0 values
Dear MATLAB experts, I'm trying to calculate the mean values of each row of a table, but I keep on getting NaN as the value of ...

1 year ago | 1 answer | 0

1

Question

Count rows in a table that contain specific letters
Dear MATLAB experts, I am trying to count how many rows contain the following letters "DEAD - DELIST" in the second column of ...

1 year ago | 1 answer | 0

1

Question

Unrecognized method, property, or field 'value' for class 'matlab.graphics.chart.primitive.Bar'.
I am getting the following error for the code below: Unrecognized method, property, or field 'orig_short_position' for class 'ma...

1 year ago | 1 answer | 0

1

Question

Calculate mean of every nth row in a table
Dear MATLAB experts, I'm trying to get the mean value of every third row starting from the first row in a table. So, I would li...

1 year ago | 1 answer | 0

1

Question

Sum every n-th row in table
Dear MATLAB experts, I'm trying to sum 3 rows at a time of a table column and create a new varible in another table with the va...

1 year ago | 1 answer | 0

1

Question

Get next business day without taking into account holidays and saturdays
Dear MATLAB experts, I'm trying to get the next business day of each date in an array without taking into account saturdays, bu...

1 year ago | 1 answer | 0

1

Question

Running several regressions and storing all the data with regress
Dear MATLAB expers, I'm trying to run many linear regressions each one consisting of one dependent variable and an independent ...

1 year ago | 1 answer | 0

1

Fillmissing problem when using busdate

1 year ago | 0

| accepted

Question

Add next and previous business date of each date in array row
Dear MATLAB experts, I have a table named 'events', which contains many unique dates and I want to get the previous and next bu...

1 year ago | 2 answers | 0

2

Question

Remove table columns that contain any 'Inf' value
Dear MATLAB experts, I'm trying to remove all columns from a table that contain (once or more) so called 'Inf' values. I have t...

1 year ago | 1 answer | 0

1

Question

Fillmissing problem when using busdate
Dear MATLAB experts, I'm trying to impute the missing values of an array(reporting_dateArray) with the next business date of th...

1 year ago | 1 answer | 0

1

Question

Error using mean: Too many input arguments.
Dear MATLAB experts, I keep on getting the error described in the title of the question and I don't know how to solve it. The i...

1 year ago | 1 answer | 0

1

Question

Remove rows from a table if a variable with the same name in another table does not exist
Dear MATLAB experts, I'm trying to find a way of removing rows from the table 'transaction_dates' if there is not a variable in...

1 year ago | 1 answer | 0

1

Question

Bar plot error when plotting
Dear MATLAB experts, I'm trying to create a bar plot with the column 'position_holder' in the x axis and the column 'percentage...

1 year ago | 1 answer | 0

1

Question

Get unique values per table column
Dear MATLAB experts, I'm trying to figure out how to get the unique values of each column of a table in MATLAB and I still have...

1 year ago | 0 answers | 0

0

Question

Grouping age data into 5 year bins
Dear MATLAB experts, I'm trying to create a new column in a table, which contains the age binned into 5 years intervals per row...

1 year ago | 2 answers | 0

2

Question

Show rows of a column of a table that meet a certain condition in another column
Dear MATLAB experts, I'm tryigng to get the rows of column x , where rows of column y == 0 . I have written the following code ...

1 year ago | 1 answer | 0

1

Question

Set unique elements to 0s and 1s matlab
Dear MATLAB experts, I'm working on a table which contains 3 variables, with only 2 unique elements per variable. I'm trying ...

1 year ago | 1 answer | 0