Community Profile # Seth Furman

Last seen: 3 days ago Active since 2019

#### Statistics

• • • #### Content Feed

View by

Using a column of cells as variable names in a table
See unstack. https://www.mathworks.com/help/matlab/ref/table.unstack.html t1 = readtable("Properties.xlsx") t2 = unstack(t1,"...

3 months ago | 1

How to find a list of dates from a timetable?
You can index into a timetable more concisely by simply passing the target row-times as row indices. https://www.mathworks.com/...

3 months ago | 0

I want to use lookup table(LUT) with two entries i.e. m and error (with respect to m). Later, I want to fetch stored error from LUT by m values. Any one please suggest me ?
Consider dictionary. https://www.mathworks.com/help/matlab/ref/dictionary.html m = [0.01 0.1 0.2 0.5 1 2 5 10 100]; err = [0....

3 months ago | 0

| accepted

Calculation of events duration time at for a specific period
It's not clear how you want to calculate these values. Assuming you want to find the first and last timestamp for each tariff a...

6 months ago | 0

How to do math using datetime objects including years
According to the Python code this was derived from, the interval should be 8213.94566 days. Could you provide the equivalent Py...

6 months ago | 0

Plot data within a table and use categorial column to "split" them in the graph
Group data by RotorNumber using findgroups https://www.mathworks.com/help/matlab/ref/findgroups.html load MiniExample.mat t =...

6 months ago | 0

retime Linear or next
I should add that if you wanted the new time step to be one minute, then you would want "minutely" instead of "minutes". https:...

6 months ago | 0

For loop using Struct data with multiple values per timepoint
Alternatively, you can convert your struct into a table using struct2table. https://www.mathworks.com/help/matlab/ref/struct2ta...

6 months ago | 0

how to read .txt file having the following format.

6 months ago | 0

Invalid data argument error. Plotting date against MTD precipitation data but date format (dd-MM) is not able to be processed. How do I fix?
Look's like you want "d-MMM" as your format instead of "dd-MM". See the following page for reference. https://www.mathworks.com...

6 months ago | 0

Plotting time in hours

6 months ago | 0

Read excel file with number and text
Table variables cannot contain a mix of numbers and text. In order to preserve the data, we must import each variable as text. d...

6 months ago | 0

| accepted

Plot Day of Year with Time
Importing the data Normally, we could use readtimetable to import Data.csv, but The Time variable has an unusual format, so we ...

6 months ago | 1

Creating a specific time subplot
To color each month, you can use stackedplot and provide multiple timetables https://www.mathworks.com/help/matlab/ref/stackedp...

6 months ago | 0

how can i convert table of string to a single row vector
Better yet, just call join on the Transcript variable transcript = table(["the"; "discreet"; "forier"; "transform"; "of"],[0.99...

6 months ago | 0

How adding second grid and values in stackedplot
Plotting horizontal lines with stackedplot is now easier with support for multiple table inputs. Load data tbl = array2table(m...

8 months ago | 0

How to plot unequal time series with same x-axis
Plotting multirate data is now easier with stackedplot, which now supports multiple timetable inputs. https://in.mathworks.com/...

8 months ago | 0

not able to evaluate the value for an equation using the data from a table, table is three columns data
You just need to change the parentheses-() to curly braces-{} when pulling data of the table. See https://in.mathworks.com/help...

9 months ago | 0

| accepted

Problem using Mathlab in Time Series Forecasting File MSLSTMR with " deep_learning_6_GCJ " program
Looks like you're just missing the "J" at the end of the script name. !wget https://in.mathworks.com/matlabcentral/answers/uplo...

9 months ago | 0

ThingSpeak data has wrong Time Zone
dt = datetime(2022,1,1,12,0,0,"TimeZone","Etc/GMT-8") dt.TimeZone = "Etc/GMT-7"

9 months ago | 0

How to save data to existing excel file
I should mention that datestr is discouraged. Prefer datetime where possible. For example, dt = datetime("now","Format","y...

9 months ago | 0

Unable to see Digilent Analog Discovery 2 device in Analog Input Recorder app
I should mention that datestr is discouraged. Prefer datetime where possible. For example, dt = datetime("now","Format","d...

9 months ago | 0

calculate mean and max values using the groupsummary command

9 months ago | 1

Execute Callback Function Multiple Times isnt working in a executable (EXE) but in MATLAB its working
I should mention that datestr is discouraged. Prefer datetime where possible. For example, dt = datetime("now","Format","H...

9 months ago | 0

Start and end date picker to load data to graph
Use a timetable As others have mentioned, we can work with this data much more easily by using a timetable. https://in.mathwor...

9 months ago | 0

I have timestamp_start and end data with other variables at the interval of 30 min yearly data. How can I sum/ avg daily/monthly/yearly avoiding -9999/Nan ?
Take a look at the following: Dates and Time - https://in.mathworks.com/help/matlab/date-and-time-operations.html datetime - h...

9 months ago | 0

Link two row in a table
In App Designer and apps created with the uifigure function, uiconfirm is recommended over questdlg because it provides addition...

9 months ago | 0

Updating parameter, plus plot, with slider input "in real time"
There are two main ways to interactively update a plot with a slider. 1. Create a Live Script with an interactive numeric slide...

9 months ago | 1

| accepted