# alpedhuez

**Statistics**

RANK**2,472**

of 243,943

REPUTATION**15**

CONTRIBUTIONS

**406** Questions

**2** Answers

ANSWER ACCEPTANCE **
66.5%
**

VOTES RECEIVED**13**

RANK

of 17,061

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How to patch upperbound and lowerbound

I read about patch to fill in the confidence interval https://www.mathworks.com/matlabcentral/answers/422522-patch-or-fill-bet...

2 months ago | 1 answer | 0

### 1

answerQuestion

How can one change the font for graphics to sans serif?

https://www.mathworks.com/matlabcentral/answers/49446-how-can-i-change-the-fontface-of-a-text-within-a-plot shows set(gca, 'F...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to create a pivot table from this table, Part 2

To generalize https://www.mathworks.com/matlabcentral/answers/898782-how-to-create-a-pivot-table-from-this-table-revised?s_tid=s...

2 months ago | 1 answer | 0

### 1

answerQuestion

How does one display the fit line in this plot in this situation?

I have a timetable T with T.date T.vistors T.sales ---------------------------------------- I draw a plot yyaxis left plo...

2 months ago | 2 answers | 0

### 2

answersQuestion

How does one use bookmark feature in Livescript?

https://www.mathworks.com/products/matlab/whatsnew.html says " Live Editor Bookmarks: Navigate quickly between lines (R2021a)" ...

2 months ago | 1 answer | 0

### 1

answerQuestion

How can one write a condition datetime is not NaT?

How can one write a condition datetime is not NaT?

2 months ago | 1 answer | 0

### 1

answerQuestion

Display first columns and rows of a table

Function head displays "Get top rows of table, timetable, or tall array." https://www.mathworks.com/help/matlab/ref/table.head....

2 months ago | 1 answer | 0

### 1

answerQuestion

How can one create a timetable with one column (all 1) with beginning date and end date?

I want to create a timetable T that begins on 1/2/2020 till 5/15/2020. How can one get started? https://www.mathworks.com/help...

2 months ago | 1 answer | 0

### 1

answerQuestion

remove variables except for prespecified variables from a table

Suppose I have a table T with the set of variables Date Location Visitors Purchases Item1 Item2 Item3 ... I just want to keep...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to create a pivot table from this table (revised)

Suppose I have a table T location gender ----------------------------------------------...

2 months ago | 2 answers | 0

### 2

answersQuestion

Loop over a list of variables indexed by numbers

Suppose I have a table Day1Vistors Day1Sales Day2Visitors Day2Sales NY 10 100 15 45 SF ...

2 months ago | 1 answer | 0

### 1

answerQuestion

Reshaping a table with date and characteristics in rows

Suppose I start with the table date age18-24 age 25-34 1/1/2021 10 10 1/2/2021 20 30 Then want to generate a table group...

2 months ago | 1 answer | 0

### 1

answerQuestion

Adjust the vertical and horizontal alignment of the label of xline function

xline function is nice. There is an example of "Adjust the vertical and horizontal alignment of the label" at https://www.math...

2 months ago | 1 answer | 1

### 1

answerQuestion

print command print only part of the graph

I did a plot and Matlab displays a plot correctly. Then I run print(gcf, '-dtiff', 'abc.tiff','-r300'); The resulting tiff f...

2 months ago | 0 answers | 0

### 0

answersQuestion

When is the renamevars function introduced?

I use MATLAB Version: 9.7.0.1190202 (R2019b) and got "error using eval. unrecognized function or variable 'renamevars'. Can it b...

2 months ago | 1 answer | 1

### 1

answerQuestion

do not figure out errors in xlim

z1=datenum(T.Date(1,:)) z2=datenum(T.Date(height(T.Date),:)) xlim([z1 z2]) Error using xlim (line 31) Limits must be a 2-...

3 months ago | 1 answer | 0

### 1

answerQuestion

How can one specify the color of comparison bar chart?

Suppose I have bin_age = ['test', 2]; vals = [ 1 1; 2 2]; b = bar(vals) newXticklabel = {'young', 'old'} set(gca,'XtickLa...

3 months ago | 1 answer | 0

### 1

answerQuestion

How can one draw a plot of this table?

Suppose I have table T date visiors sales 1/1/2021 3 100 1/2/2021 5 120 I...

3 months ago | 1 answer | 0

### 1

answerQuestion

How can one reshape this table?

Consider a table T with group date visitor age 18-24 1/1/2021 10 age 18-24 1/2/2021 20 age 25-34 1/1/202...

3 months ago | 1 answer | 0

### 1

answerQuestion

how to run multiple number of regressions?

I have table T with Date Location Sales Visitors 1/1 NY 10 5 1/1 LA 7 3 1/2 NY 9 5 1/2 LA 4 1 Then I want to run regressi...

3 months ago | 1 answer | 0

### 1

answerQuestion

Can one get fitted value without going to predict?

I have a regression mdl=fitlm(X,Y) How can one obtain the fitted value of the regression without going for predict?

3 months ago | 1 answer | 0

### 1

answerQuestion

Sort timetable in the ascending order of dates

I have timetable T that says date visitor 1/2 5 1/1 6 How can one have date visitor 1/1 6 1/2 5 That is, s...

3 months ago | 0 answers | 0

### 0

answersQuestion

How to sum up over dates?

I have table with T date location sales -------------------- 1/1 NY 100 1/2 NY 105 1/1 LA 70 1/2 LA 90 I want to su...

3 months ago | 1 answer | 0

### 1

answerQuestion

normalize the vector by taking the difference from the first element

Suppose I have a vector T 1 2 3 Then I want to normallize T by taking the difference from the first element T1 0 (=1-1) ...

3 months ago | 1 answer | 0

### 1

answerQuestion

run regression, change the value of x and calculate how y changes, and then plot both

(Revised) Suppose I have a table T y x1 x2 10 3 4 7 2 3 5 1 2 run a regression mdl =fitlm([T.X1, T.X2],T.y) Th...

3 months ago | 1 answer | 0

### 1

answerQuestion

Is there any way to output the statistical outcome in latex?

It seems that R has a package that allows to create a latex output of statistical outcome https://cran.r-project.org/web/packag...

3 months ago | 0 answers | 0

### 0

answersQuestion

Is it possible for Matlab to access files in Github?

I would like to know whether it is possible for Matlab to access m files in Github and run them.

3 months ago | 1 answer | 0

### 1

answerQuestion

how to define a variable with dates

I want to define a variable "NYC" that will take a value for each day of 1/1/2021 to 3/31/2021. How can one do this?

6 months ago | 1 answer | 0

### 1

answerQuestion

Does not properly read csv file

I try to read the attached csv file using readtable. But the data does not seem to be read. What can be done?

6 months ago | 2 answers | 0

### 2

answersQuestion

How to draw a graph from this table

I have a spreadsheet of the format 2021 2020 2019 male 50 45 40 female 50 55 60 I now want to draw a g...

7 months ago | 1 answer | 0