Respondida
Plot from 2 matrixes as x value and 1 matrix as y
1) It is simpler and more efficient to store durations and datetimes in a duration or datetime array respectively instead of a c...

más de 5 años hace | 0

Respondida
Using clusterdata() to plot clusters using plot(). "Vectors must be the same length"
You'll need to decide what you want the x-values to be when y((clusters == c),:)' does not have 4095 elements. I suspect you wa...

más de 5 años hace | 0

Respondida
How do I use the group summary/unstack function in this script?
Take a look at the following documentation example for unstack, which closely resembles your problem. https://www.mathworks.com...

más de 5 años hace | 1

Respondida
Adding 3 Frequency curves into an existing plot.
I'm a little unclear on the question. It sounds like the question is: "Can I plot vectors of different lengths on the same axes?...

más de 5 años hace | 0

| aceptada

Respondida
Plotting frequency curves in one figure
The error we see is happening in the split function because not every string in string(FEC_fb2(1:end-1)) has the same number of ...

más de 5 años hace | 0

| aceptada

Respondida
Filename to categorical in table
Assuming we know which rows contain data from each file, we can create a categorical variable and add it directly to the table. ...

más de 5 años hace | 1

Respondida
Streamline for loops and indexing of large files
1) Consider using innerjoin or outerjoin to find the rows with matching row times between two tables. https://www.mathworks.com...

más de 5 años hace | 0

| aceptada

Respondida
how to take data of two tables only when the date and hour is the same?
It is worth combining "Datum" and "Stunde" into a single variable, so they can be easily sorted. For example, >> t1 = readta...

más de 5 años hace | 0

Respondida
How to query the date format when using dynamicDateTicks.m?
See my recommendation to use datetime data when plotting, related to your other question, here: https://www.mathworks.com/matla...

más de 5 años hace | 0

Respondida
How to avoid overlap of tick mark label strings generated by dynamicDateTicks.m?
Consider using datetime arrays for your data when plotting. The default behavior includes tick labels that automatically update ...

más de 5 años hace | 0

Respondida
How to hide representative duration at datetime X-axis plot?
If you just want the duration data for the time of day on the x-axis, you can use the timeofday method for datetime. >> x = dat...

más de 5 años hace | 0

Respondida
Help on parallelizing code - Nested files
A few suggestions: Consider using readstruct, which makes it easy to read XML data into a struct in MATLAB. Take a look at the...

más de 5 años hace | 0

| aceptada

Respondida
Use retime() to create rows of empty data points
Hi Louise, I have tried retime and while I can get this function to produce the array of DateTimes I am looking for, I cannot...

alrededor de 6 años hace | 1

| aceptada

Respondida
How do I iterate through excel cells?
In general, the use of xlsread is not recommended. Please consider using readtable, readmatrix, or readcell instead. https://ww...

más de 6 años hace | 0