Community Profile

photo

alpedhuez


Last seen: Today
249 total contributions since 2017

alpedhuez's Badges

  • Thankful Level 4

View details...

Contributions in
View by

Question


replace [ ] in an array with 0's
https://www.mathworks.com/matlabcentral/answers/112403-how-do-i-replace-in-an-array-with-0-s talks about replace [] with 0's fo...

environ 4 heures ago | 2 answers | 0

2

answers

Question


can one define a function handle in Livescript?
Can one define a function handle in Livescript? How will it work? cf.. https://www.mathworks.com/matlabcentral/answers/501199-...

environ 6 heures ago | 1 answer | 0

1

answer

Question


'retime' with multiple methods?
'retime' uses a method to aggregate data TT3 = retime(TT,'hourly','mean') Is it possible to use two methods to calculate mea...

environ 7 heures ago | 1 answer | 0

1

answer

Question


what are the differences between regress and fitlm?
What are the differences between regress and fitlm?

environ 19 heures ago | 0 answers | 0

0

answers

Question


how can one set default fonts for plots?
I tried set(groot,'defaultFontName','Times New Roman') but got Error using matlab.ui.Root/set fontname is an invalid class n...

environ 21 heures ago | 1 answer | 0

1

answer

Answered
calculate average only for one group
https://www.mathworks.com/matlabcentral/answers/366254-how-do-i-extract-certain-data-from-a-table

environ 23 heures ago | 0

Question


calculate average only for one group
I have a table T YYYY Name Location Income ----------------- 2020 A E 300K 2020 B W 250K 2020 C E 400K 2020 D W 300K Then...

environ 23 heures ago | 2 answers | 0

2

answers

Question


take averages of obvervations for each month
suppose I have a table S date income ---------------------------- 1/1/2020 100 1/2/2020 20 I want to cr...

2 jours ago | 1 answer | 0

1

answer

Question


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

2 jours ago | 2 answers | 0

2

answers

Question


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

2 jours ago | 2 answers | 0

2

answers

Question


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

2 jours ago | 1 answer | 0

1

answer

Question


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

4 jours ago | 1 answer | 0

1

answer

Question


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

4 jours ago | 1 answer | 0

1

answer

Question


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

4 jours ago | 1 answer | 0

1

answer

Question


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

4 jours ago | 1 answer | 0

1

answer

Question


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

4 jours ago | 0 answers | 0

0

answers

Question


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

4 jours ago | 0 answers | 0

0

answers

Question


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 jours ago | 1 answer | 0

1

answer

Question


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 jours ago | 0 answers | 0

0

answers

Question


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 jours ago | 2 answers | 0

2

answers

Question


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 jours ago | 1 answer | 0

1

answer

Question


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

8 jours ago | 1 answer | 0

1

answer

Question


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

8 jours ago | 1 answer | 0

1

answer

Question


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

9 jours ago | 2 answers | 0

2

answers

Question


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

18 jours ago | 1 answer | 0

1

answer

Question


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

18 jours ago | 1 answer | 0

1

answer

Question


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

18 jours ago | 1 answer | 0

1

answer

Question


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

18 jours ago | 1 answer | 0

1

answer

Question


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?

19 jours ago | 1 answer | 0

1

answer

Question


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

19 jours ago | 1 answer | 0

1

answer

Load more