Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 1

Réponse apportée
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?...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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. ...

plus de 4 ans il y a | 1

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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 ...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 6 ans il y a | 0