Community Profile # Seth Furman

### MathWorks

Last seen: 2 días ago Active since 2019

#### Statistics

• • • #### Content Feed

View by

datestr function Unrecognized month format error
We highly recommend using datetime in place of datestr, now, datenum, etc. You can get a datetime version of the same value usi...

3 meses ago | 1

Split a target date interval into seasons and find the percentile of days for each season
To add to Scott's answer, this kind of grouped calculation on timestamped data lends itself well to timetable and groupsummary. ...

3 meses ago | 1

Count frequency data from table
This can be accomplished using groupsummary and unstack. https://www.mathworks.com/help/matlab/ref/double.groupsummary.html ht...

3 meses ago | 0

| accepted

Subset using time range following specific time
Two alternative workflows are Shift the midpoint and tolerance passed into withtol to achieve the desired range. Use logical s...

4 meses ago | 0

| accepted

How to plot monthly data for 31 years on the same plot?
It is probably easier to store the data in a timetable and use retime to get the monthly averages. https://www.mathworks.com/he...

4 meses ago | 1

| accepted

How to assign corresponding label to dataset
We can create categorical arrays using the categorical function. https://www.mathworks.com/help/matlab/ref/categorical.html ...

4 meses ago | 0

Assigning nested tables inside a parfor-loop
Adding to Walter's answer: The table constructor does not allow specifying the widths of individual variables when preallocat...

4 meses ago | 1

| accepted

Calculate the Euclidean distance of simple combinations in a table
What have you tried? Where are you confused? You might want to take a look at the following documentation links: https://www...

4 meses ago | 0

| accepted

What is the best way to append double arrays while working in a loop?
You can append values to a table using concatenation as follows https://www.mathworks.com/help/matlab/matlab_prog/add-and-delet...

7 meses ago | 0

Get variable value from imported text

7 meses ago | 0

| accepted

Delete data from the following minutes from data that does not meet a certain condition

7 meses ago | 0

Moving vertical line as time marker
Check out the xline function, which lets you plot a vertical line as well as update its position. https://www.mathworks.com/hel...

7 meses ago | 0

Labelling columns of large array in a searchable way?

7 meses ago | 0

| accepted

Need help with storing values in a table and/or matrix
If you want to create a table like in the attached screenshot, you can use the table constructor. For example, >> table([0.01;0...

7 meses ago | 0

How do I get a function in a for loop so it applies it to an entire table?
To add to Chris' answer, you can also find the yearly max for each station using retime. For example, using the first two column...

7 meses ago | 0

How to use movsum with datetime?
@SaaraL I should first mention that the function call in your original question should work if you pass a numeric vector or matr...

7 meses ago | 1

Problem plotting 1D array versus table column: I want a single curve/series but am instead getting a separate series for every array element.
I'd first recommend converting your table into a timetable so you can see the time step for each row. https://www.mathworks.com...

7 meses ago | 0

Calling data based on column name
You could do something like mean(t{:,varName}) where t is your UI table data (assuming it is represented as a table type) and ...

7 meses ago | 0

| accepted

loop based on a condition in another column

7 meses ago | 0

| accepted

How can I remove characters in cvs file?
If you use readtable, you can convert the table to a matrix by using the table2array function. https://www.mathworks.com/help/m...

7 meses ago | 0

Training a Neural Network
To add to Olof's answer, the categorical type allows you to efficiently represent a finite set of discrete categories that you m...

7 meses ago | 1

Synchronizing several large timetables
Where are your timetables coming from? Are you reading them from one or more files? If so, it probably makes more sense to creat...

7 meses ago | 0

| accepted

Create elapsed time vector for loop
1) You can convert timestamp data into elapsed time using datetime subtraction. >> dt = datetime(2020,1,1:5) dt = 1×5 ...

7 meses ago | 1

| accepted

Combine 2 datasets and include the duplicates
Check out innerjoin and outerjoin. https://www.mathworks.com/help/matlab/ref/innerjoin.html https://www.mathworks.com/help/mat...

7 meses ago | 0

How can I do the SINR representation of some points?
I'm a little unclear on your workflow, but you might consider one of the geographic plots, such as geobubble. https://www.mathw...

7 meses ago | 0

| accepted

How to sort data (multiple rows into one)
This sounds like a good use for unstack. https://www.mathworks.com/help/matlab/ref/unstack.html For example, suppose we have...

7 meses ago | 1

| accepted

how to accumulate 10 minute values to daily values
Check out retime. https://www.mathworks.com/help/matlab/ref/timetable.retime.html

8 meses ago | 0

How do I range through a set of columns in a table to generate data and store data in new columns?
You might be interested in varfun. https://www.mathworks.com/help/matlab/ref/varfun.html

8 meses ago | 0