# T4H14

**Statistics**

**MATLAB Answers**

**20** Questions

**0** Answers

RANK**25,757**

of 282,020

REPUTATION**1**

CONTRIBUTIONS

**20** Questions

**0** Answers

ANSWER ACCEPTANCE **
70.0%
**

VOTES RECEIVED**2**

RANK

of 19,069

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 134,441

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How can I specify the file path for csvwrite to write a file to?

How can I specify the file path for csvwrite to write a file to?

5 years ago | 2 answers | 0

### 2

answersQuestion

How do I grab data from an API that returns files in xml or json?

I'm working with a couple APIs for some needed data. One returns files in JSON and the other in xml. How do I then take that an...

5 years ago | 0 answers | 0

### 0

answersQuestion

What is the best way to readtable with variables names not in the first row and detectImportOptions gets the row detection wrong?

Is there a way to easily call a readtable function while specifying the row the variable names are located in and the row that t...

5 years ago | 1 answer | 0

### 1

answerQuestion

How do I take a small array, keyed by a datetime variable which is a subset of a larger array and replace the values in the larger array with the values from the smaller array?

What is the best way to take an table which is keyed by a datetime variable and replace the data in a much larger taable (same v...

5 years ago | 3 answers | 0

### 3

answersQuestion

How can I use the excel import functionality in Matlab to import a table but to have the individual pices of data in the table rows to not be imported as 1x1 tables as well?

When I import excel spreadsheets as tables it imports each piece of data as a 1x1 table which creates problems when I want to op...

5 years ago | 2 answers | 0

### 2

answersQuestion

How do I take the power of elements in a table?

I have a table called NYLD1 and I want to create some new variables that are the squares and cubes of the variables columns 29:3...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to delete rows in a table where table variable equals some integer?

How can I delete rows from a table where a variable in the table = 1(for example)?

6 years ago | 1 answer | 0

### 1

answerQuestion

Can the output of the weekday function be modified to return different numbers?

Can the output of the weekday() function be modified like the excel weekday function so that Monday = 1 rather than Monday =2? ...

6 years ago | 1 answer | 0

### 1

answerQuestion

Can I specify the variable name to use as a key when I use innerjoin() or does it have to be a column number?

Can I use innerjoin(A,B,'Keys','Date') or do I have to use innerjoin(A,B,'Keys'1) when innerjoining two tables which have a comm...

6 years ago | 1 answer | 0

### 1

answerQuestion

Why do I get a for loop error "Subscript indices must either be real positive integers or logicals"?

I have the following code (below) that uses a for loop. Why do I get the error "Subscript indices must either be real positive i...

6 years ago | 1 answer | 0

### 1

answerQuestion

Is there a way to change variable names that a trained regression model structure should be expecting?

I trained some regression models and exported the code but I want to change the variable names I am using. Can I do this in the ...

6 years ago | 0 answers | 0

### 0

answersQuestion

How do I add a new column to a table which is a binary or intiger depending upon if the Date is a holiday or not?

I want to create a new variable called Holiday which is equal to an integer of my choosing depending upon if the Date in the sam...

6 years ago | 1 answer | 0

### 1

answerQuestion

Variable Names and classes for Tables as well as using the Hour function on datetime variables?

I have a table, B, which is 360x11 and the first column is a date time variable. I want to verify the variable names using: ...

6 years ago | 2 answers | 0

### 2

answersQuestion

How do I read this csv file in and convert the dates?

How can I use readtable() to read in this .csv and convert the dates from AM/PM to 24 hour at the same tieme NA-KBOS , Hour...

6 years ago | 1 answer | 0

### 1

answerQuestion

How can I add a column to a table where I look up the date against a list of holiday dates and if it is a holiday I create a new binary variable?

I have a file with data indexed by dates. The first column in the table in dates. I have another table of a list of US bank holi...

6 years ago | 1 answer | 0

### 1

answerQuestion

How do I take a table which has one value for every hour and produce an average for hours X:Y, one for each day?

I have a table that has a first column as dates in 'dd-mmm-yyyy hh-mm-ss' format and the second column is values. I want to prod...

6 years ago | 2 answers | 0

### 2

answersQuestion

How can I create a table from column from another table and some model output?

I have a table T that has a first column called "Dates" which contains the observation dates for input variables into a model an...

6 years ago | 2 answers | 1

### 2

answersQuestion

When using the regression learner app is there a way to save a regression learner session when many regressions have been run?

When using the regression learner app is there a way to save a regression learner session when many regressions have been run? I...

6 years ago | 2 answers | 1

### 2

answersQuestion

How to add variables to a table that are products of other variables

If I have a table of 46 variables and I want to add on new variables to this table which are the squares and cubes of some of th...

6 years ago | 2 answers | 0

### 2

answersQuestion

Matrix "addition" qeustion

How do I create a matrix A which is equal to a matrix X with column vectors added onto it which are the element wise square and ...

6 years ago | 3 answers | 0