Community Profile

photo

alpedhuez


Last seen: 3 mesi ago Active since 2017

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

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

3 mesi ago | 1 answer | 0

1

answer

Question


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

3 mesi ago | 1 answer | 0

1

answer

Question


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

3 mesi ago | 1 answer | 0

1

answer

Question


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

3 mesi ago | 2 answers | 0

2

answers

Question


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

3 mesi ago | 1 answer | 0

1

answer

Question


How can one write a condition datetime is not NaT?
How can one write a condition datetime is not NaT?

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


How to create a pivot table from this table (revised)
Suppose I have a table T location gender ----------------------------------------------...

4 mesi ago | 2 answers | 0

2

answers

Question


Loop over a list of variables indexed by numbers
Suppose I have a table Day1Vistors Day1Sales Day2Visitors Day2Sales NY 10 100 15 45 SF ...

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 1

1

answer

Question


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

4 mesi ago | 0 answers | 0

0

answers

Question


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

4 mesi ago | 1 answer | 1

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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?

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 0 answers | 0

0

answers

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

4 mesi ago | 1 answer | 0

1

answer

Question


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

5 mesi ago | 0 answers | 0

0

answers

Question


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.

5 mesi ago | 1 answer | 0

1

answer

Question


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?

8 mesi ago | 1 answer | 0

1

answer

Question


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?

8 mesi ago | 2 answers | 0

2

answers

Question


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

8 mesi ago | 1 answer | 0

1

answer

Load more