질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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?

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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?

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to Run Matlab in Jupyter in VS Code
https://code.visualstudio.com/docs/python/jupyter-support shows how to run Jupyter notebook in VScode. So it should be able to ...

거의 4년 전 | 답변 수: 1 | 1

1

답변

질문


format of an output of a function
Suppose A is 100*1 categorical and B is 100*1 categorical . As I run ismember(A,B), output is like ans = 100*1 logical array ...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


comparing categorical arrays in terms of content
I have two categorical arrays A and B. I want to idenitfy common elements of A and B elements that are in one of them but not...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


read csv file: variable name consists of multiple words: resulting table variable name
I readtable a csv file of the format date new york --------------------- 1/1/2021 15 1/2/2021 20 Then the resulting tabl...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Print first few lines of output
Suppose I do summary(T) Then it will print out statistics of all the variables in the table, which is good. But at the same ti...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Reformatting columns and rows of a table
Suppose I have a table date NY Chicago SF --------------------------- 1/1/2020 10 15 20 1/2/2020 15 20 10 I want to refo...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Run regressions and output the result as a report using "Report Generator"
I run regressions such as fitlm(T.population, T.sales) I want to output a report that explains these regression equations and...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Define a collection of variables
Suppose I have a table date visitor city dummy_for_January dummy_for_February dummy_for_March --------------------------------...

거의 4년 전 | 답변 수: 2 | 0

2

답변

질문


Long output in Livescript
For example, when I run fitlm with a large number of independent variables, outputs are displayed in its own window and one need...

거의 4년 전 | 답변 수: 1 | 2

1

답변

질문


suggestion: please put an option to display variable data type in head function
head function allows the display the first rows of table that is very convenient. https://www.mathworks.com/help/matlab/ref/ta...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


'summary' function for a cell
summary function provides a summary of a content of a table https://www.mathworks.com/help/matlab/ref/table.summary.html Then ...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Matlab, automatically delete the index variable after the execution of a loop, Part 2
https://stackoverflow.com/questions/9850628/matlab-automatically-delete-the-index-variable-after-the-execution-of-a-loop suppos...

거의 4년 전 | 답변 수: 1 | 1

1

답변

질문


a simpler way to add a string variable to a table
I have a table T Date City Visitors ---------------------- 1/1/2020 New York 10 1/2/2020 New York 20 I want to add a variab...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


refreshdata, clf, "clear all output"
What are the relationship of refreshdata https://www.mathworks.com/help/matlab/ref/refreshdata.html clf https://www.mathworks...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


fitlm okay but warnings for anova
I run tbl=fitlm(x,y) and it does not have any error message. But when I do anova(tbl) I get an error message warning: Mat...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


polyfit with multiple dependent variables
I think https://www.mathworks.com/help/matlab/ref/polyfit.html can handle multiple dependent variables. But when I tried Fit...

거의 4년 전 | 답변 수: 2 | 0

2

답변

질문


Setting plot limits with dates, Part 2
https://www.mathworks.com/matlabcentral/answers/84008-setting-plot-limits-with-dates I belive I have set the xlim to start from...

거의 4년 전 | 답변 수: 1 | 0

1

답변

더 보기