提问


unstack warnings about variable names
I ran unstack and got Warning: Table variable names that were not valid MATLAB identifiers have been modified. Since table v...

5 years 前 | 2 个回答 | 0

2

个回答

提问


how to set a frequency of x axis of a plot?
I have a plot plot(yyyyMM,temperature) This plot has x axis that shows year. But I want to have more fine ticks such as quate...

5 years 前 | 2 个回答 | 0

2

个回答

提问


what are the functions that one can use for unstack aggregate functions?
I use unstack to create a pivot table. https://www.mathworks.com/help/matlab/ref/unstack.html what are the functions that one...

5 years 前 | 1 个回答 | 1

1

个回答

提问


how to transfer a setting from an old version to a new version
I have 2019b and installed a newer 2020a in a same PC. How can one transfer a setting (path, etc) of 2019b to 2020a? Then, how c...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Unstack: how to create a pivot table like this?
I have a table like (the real table is more complicated) date month person spending -------------------------- 1/1/2020 Janua...

5 years 前 | 1 个回答 | 0

1

个回答

提问


how to use saveas specify the size of plot when one save the plot
I want to save plot to fit to the size of slides. How can one use saveas (or another command) to save a plot in a 16:9 ratio (or...

5 years 前 | 1 个回答 | 0

1

个回答

提问


how to user grpstats function in this case
I have a table like (the real table is more complicated) date month person spending 1/1/2020 January-2020 John 30 1/1/2020 Ja...

5 years 前 | 1 个回答 | 0

1

个回答

提问


plot of a string vector vs numeric vector, v2
Bulding on https://www.mathworks.com/matlabcentral/answers/10230-plot-of-a-string-vector-vs-numeric-vector I was able to crea...

5 years 前 | 0 个回答 | 0

0

个回答

提问


plot with string value in x axis
I have a data date temperate ---- '2020-01' 10 '2020-02' 10 '2020-03' 20 I tried plo...

5 years 前 | 0 个回答 | 0

0

个回答

提问


strcmp for a part of the word
I understand strcmp(A,B) compares strings A and B. But suppose I have 'Toyota 2020', 'Toyota 2019',... and I want to check whe...

5 years 前 | 1 个回答 | 0

1

个回答

提问


some numbers expressed as date when downloaded as xlsx file
I created some numbers in a table and downloaded the table into xlsx using writetable function. Then some numbers are displayed ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Month as a two digit number
I have month(Date); this will give me the number 1,2,3,... But I want to have 01,02,03,.. as months. Please advise.

5 years 前 | 2 个回答 | 0

2

个回答

提问


livescript: move to next section
I have Livescript and I have sections. I know "Run Section" "Run and Advance" ”Run to the End" What I would like to do is ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


create yyyymm variable from date
I have a date variable. I want to create yyyymm from the date variable. I can use the year function and the month function to ex...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How to create a pivot table
I have a table date person spendings ---------------------------------------- 1/1/2020 John $100 1/1/2020...

5 years 前 | 2 个回答 | 0

2

个回答

提问


create a variable and specify its column
Suppose I have a table day temperature 1/1/2020 30 I want to create a vaiable 'month" from 'day' and put it ...

5 years 前 | 2 个回答 | 0

2

个回答

提问


How to define a new variable in a table, Part 3
I have a table test date breakfast lunch 1/2/2020 10 20 1/3/2020 5 25 1/4/2020 8 20 Just for the sake of an exmple, I wa...

5 years 前 | 1 个回答 | 0

1

个回答

提问


strcmp: compare a string with a set of strings
I have a table 'test' month temperature --- January February --- I want to create a new variable called 'season'. I want ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


list of the names of the variables in a column
I understand that 'tabulate' will give the list of variable names and their frequencies. https://www.mathworks.com/help/stats/...

5 years 前 | 1 个回答 | 0

1

个回答

提问


matrix, cell array, and table
I try to understand the basics. Can 'matrix' have non-numerical data? What is the difference of a matrix of numbers and a cel...

5 years 前 | 1 个回答 | 0

1

个回答

提问


a function that takes a table as input and returns a table as output
Can one write a function that takes a table as an input and returns a table as an output?

5 years 前 | 1 个回答 | 0

1

个回答

提问


How can one write out the set of possible values of a variable?
I have a table Year -- 2020 2018 2017 2016 I want to write out all the values that the variable 'Year' takes. One way mig...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How to replace a string in a table
I have a table test that says month -- 'January' 'JANUARY' I want to replace 'JANUARY' by 'January': month -- 'January...

5 years 前 | 2 个回答 | 0

2

个回答

提问


How to define a new variable in a table, Part 2
Suppose I have a table 'test' such as month ------- January February ... I now want to define a string variable '...

5 years 前 | 1 个回答 | 0

1

个回答

提问


how to define a new variable in a table
I have a table date temperature 1/1/2020 10 1/2/2020 20 1/3/2020 30 I want to define a variable 'even' that takes a...

5 years 前 | 1 个回答 | 0

1

个回答

提问


extract year from date and add to a table
I have a table called 'test' such as date temperature 6/17/2020 81F What I would like to do is to add a ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


To avoid ambiguity, use a format character vector. e.g. '%{MM/dd/uuuu}D'
I got this error message. i did google the message but it was not clear what is needed to be done. Please advise. Warning: The...

5 years 前 | 1 个回答 | 0

1

个回答

提问


joining two tables with two keys
I have two tables table 1 and table 2. Table 1 day location expenses 1 Buckingham_Palace 1 million 1 Lo...

5 years 前 | 0 个回答 | 0

0

个回答

提问


how can one copy and paste error message in livescript?
I got an error message working with Livescript. How can I copy and paste these messages?

5 years 前 | 2 个回答 | 0

2

个回答

提问


"all tables in the blacket expression must have the same variable names"
I have two tables data_1 data_2 When I tried [data_1;data_2] I got all tables in the blacketed expression must have the sa...

5 years 前 | 1 个回答 | 0

1

个回答

加载更多