Community Profile # Sim

Last seen: Today Active since 2019

#### Statistics

All
• • • • • #### Content Feed

View by

Question

Customise axis ticks and ticks labels with exponential notation
How can I customise both axes to get this figure, with this exponential notation ?

17 hours ago | 1 answer | 0

### 1

Question

How to avoid "NaT" when converting a cell into datetime ? (Or: how to add missing parts of datetime ?)
How to avoid "NaT" when converting a cell into datetime ? (Or: how to add missing parts of datetime ?) a = [ {'14-Jul-20...

1 day ago | 1 answer | 0

### 1

Question

How to find the most dominant frequency(ies) of time series that include datetime ?
How can I find the most dominant frequency(ies) of this time series that includes datetime ? a = { '17-Jun-2021 12:00:00',...

2 days ago | 0 answers | 0

### 0

Question

How to find the frequencies of a time series which contain datetime ?
How to find the frequencies of a time series which contain datetime, as in the following example ? (Note: I did not find such a...

3 days ago | 2 answers | 0

### 2

Question

A compact way to remove empty rows in a cell array matrix ?
A compact way to remove empty rows in a cell array matrix, as the following one? >> a a = 8×2 cell array {'22-Ju...

3 days ago | 1 answer | 0

### 1

Question

Store cell arrays composed of datetimes and numbers
Description & Goal. I have several cell arrays composed of datetimes "dt" and numbers/values "n", similar to this one: [cellstr...

4 days ago | 1 answer | 0

### 1

Question

A compact way to find single digit numbers (i.e. numbers between 0 and 9) and replace them with two digit numbers
A compact way to find single digit numbers (i.e. numbers between 0 and 9) and replace them with two digit numbers ? For example...

4 days ago | 2 answers | 0

### 2

A compact way to extract a date from a filename and transform it into a datetime
found it: s = '20210317'; datetime(s, 'InputFormat', 'yyyyMMdd') which gives this: ans = datetime 17-Mar-2021

4 days ago | 0

| accepted

Question

A compact way to extract a date from a filename and transform it into a datetime
A compact way to extract a date from a filename and transform it into a datetime ? E.g. from '20210317.csv' to ans = date...

4 days ago | 1 answer | 0

### 1

How to convert a graph / edges list into a shapefile (.shp) ?
@Christine Tobler Since I did not understand exactly how to perform the steps you suggested... % Matlab graph --> geolineshape ...

1 month ago | 0

Question

How to convert a graph / edges list into a shapefile (.shp) ?
How to convert a graph / edges list into a shapefile (.shp) ? Here an example of graph "G", built up with Matlab: s = [1 1 2 2...

1 month ago | 2 answers | 0

### 2

Question

How to cluster lines ?
How to cluster lines ? Here below an example: x = [1 1 2 3 4 5 6 7 1 1 2 3 3 4 4 5 15 15 15 16 16 16 17 18 20...

1 month ago | 1 answer | 0

### 1

Question

How do I label the bars in my histogram with the function "histogram" ?
In a similar thread a user asked: How do I label the bars in my histogram? However, that person mentioned the function hist, in...

1 month ago | 1 answer | 0

### 1

Question

find rows in a matrix where all the elements (of those rows) are not NaN
How to finds rows in "a" where both elements of those rows (2 in this case) are numbers and not "NaN" ? a = [ NaN Na...

1 month ago | 1 answer | 0

### 1

Compact way to extract day and hour from a datetime / datestrings format ?
Thanks a lot @Voss, your code does what I need... In my case, I did in this way and it works: t = datetime(time_array); % I fou...

2 months ago | 0

Question

Compact way to extract day and hour from a datetime / datestrings format ?
I have a cell array including datetime / datestrings data, i.e. days and hours. Here following, I show two examples related to...

2 months ago | 2 answers | 0

### 2

Question

Suggestions on how to detect anomalies in around 200k time series, maybe with deep learning, maybe in a fast way?
I have tried Time Series Anomaly Detection Using Deep Learning, with just a few thousands of time series, but it is very slow......

2 months ago | 2 answers | 0

### 2

Find cycles in an undirected graph
Hey @Matt J! hope this message finds you well! I am back to my post after a while :-) ... I have a quite silly question..... I ...

2 months ago | 0

A (possibly compact) way to find (1) unique rows, when rows have switched elements, (2) rows with switched elements, and (3) indices of rows with switched elements
This is my solution and I have created the corresponding File Exchange if interested! a = [1 2 4 5 5 1 2 1 ...

2 months ago | 0

| accepted

Question

A (possibly compact) way to find (1) unique rows, when rows have switched elements, (2) rows with switched elements, and (3) indices of rows with switched elements
I have a 2-column matrix and I would need to find the following quantites, possibly in a compact way: unique rows, even when th...

2 months ago | 3 answers | 0

### 3

Question

different locations of y-axes and ylabels in subplots
I have 4 subplots and I would like to have: all the 4 ylabel texts (here called as "first", "second", "third" and "fourth") pe...

3 months ago | 1 answer | 0

### 1

Question

Convert digital numbers to datetime elements
I have two types of time arrays, t1 and t2, with the same number of elements, i.e. 1056, and both indicating a time range of 44 ...

3 months ago | 1 answer | 0

### 1

Question

Can "datetime" be responsible for the misalignment of data in a plot ?
I have two types of time vectors, t1 and t2, both indicating a time range of 44 days: % vector t1 t1 = linspace(0,44,1057); ...

3 months ago | 2 answers | 0

### 2

Question

Extend a cell array of dates (from days only, to hours and days) in a compact way
I have a cell vector containing 44 dates, i.e. days: >> C ans = 44×1 cell array {'17-Jun-2017'} {'18-Jun-20...

3 months ago | 4 answers | 0

### 4

Question

Subplots of subplots (maybe using subaxis)
I am using the beast exchange file, which default example, load('Nile.mat') % annual streamflow of the Nile Ri...

3 months ago | 1 answer | 0

### 1

Question

How to create an overall legend for subplots with the SUBAXIS function?
Hi, how can I create an overall legend by using the subaxis function? The following example does not work: x = -10:10; city...

4 months ago | 1 answer | 1

### 1

Question

Select elements of a matrix using an array (of indices)
Hi, I have a matrix composed of 2 columns, called A, and an array of "indices", called I. For each row of A, I would like to s...

4 months ago | 1 answer | 0

### 1

Question

Compact way to horizontally concatenate a cell array without the first columns of the cells
Hi, I have two matrices A and B that are "stored" inside a cell array C. Just manipulating the cell array C (and not matrices ...

4 months ago | 1 answer | 0

### 1

Question

Compact way to write matrices containing indices
Hi, I have an array A and a matrix B. (Task 1) First, I would like to check which elements of A are members of the first colum...

4 months ago | 2 answers | 0