Community Profile

photo

Seth Furman

Last seen: Today Active since 2019

Statistics

  • Knowledgeable Level 4
  • Revival Level 2
  • First Answer

View badges

Content Feed

View by

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
how to read .txt file having the following format.
https://www.mathworks.com/help/matlab/ref/fileread.html https://www.mathworks.com/help/matlab/ref/jsondecode.html https://www....

6 months ago | 0

Answered
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

Answered
Plotting time in hours
tt = readtimetable("208cw3_21OC.csv",NumHeaderLines=5,VariableNamingRule="preserve") stackedplot(tt)

6 months ago | 0

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
calculate mean and max values using the groupsummary command
https://in.mathworks.com/help/matlab/ref/readtimetable.html https://in.mathworks.com/help/matlab/ref/vartype.html https://in.m...

9 months ago | 1

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
Compile-time constants for HDL Coder
Take a look at coder.const. https://www.mathworks.com/help/coder/ug/fold-expressions-into-constants.html https://www.mathworks...

9 months ago | 0

| accepted

Answered
How do you extract from a website table?
Try the approach suggested in the following MATLAB Answers post. https://www.mathworks.com/matlabcentral/answers/553537-how-do-...

12 months ago | 0

Load more