Community Profile

photo

Sim


Last seen: Today 2019 以来アクティブ

Statistics

All
  • First Submission
  • Thankful Level 5
  • First Review
  • First Answer
  • Revival Level 1

バッジを表示

Content Feed

表示方法

回答済み
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...

約7時間 前 | 0

質問


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...

1日 前 | 2 件の回答 | 0

2

回答

質問


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......

10日 前 | 2 件の回答 | 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 ...

13日 前 | 0

送信済み


Unique function for rows with switched elements
Find unique rows in a 2-element matrix, when rows have switched elements. E.g. when row "1 5" and row "5 1" are both present.

19日 前 | ダウンロード 1 件 |

回答済み
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 ...

19日 前 | 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
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...

19日 前 | 3 件の回答 | 0

3

回答

質問


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...

約1ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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 ...

約1ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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); ...

約1ヶ月 前 | 2 件の回答 | 0

2

回答

質問


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...

約1ヶ月 前 | 4 件の回答 | 0

4

回答

質問


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...

約2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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...

2ヶ月 前 | 1 件の回答 | 1

1

回答

質問


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...

2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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 ...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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...

3ヶ月 前 | 2 件の回答 | 0

2

回答

質問


If condition: "in each row of a matrix one element is zero and the other one is not zero"
How can I write the if condition in a more compact way than if size(find(sum(A==0,2)==1),1) == size(A,1) to express that "i...

3ヶ月 前 | 3 件の回答 | 0

3

回答

回答済み
matlab_R2022a_maci64.dmg installation crashes after a while.. solutions?
I solved it by: disconnecting the wifi and using mobile phone data changing destination as /Applications/another_folder/MATLA...

3ヶ月 前 | 0

| 採用済み

質問


matlab_R2022a_maci64.dmg installation crashes after a while.. solutions?
matlab_R2022a_maci64.dmg installation crashes after a while.. solutions? Note 1: DESTINATION: /Applications/MATLAB_R2022a.app ...

3ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to draw a "xline" with a given height for the line and a given vertical position for the text?
How to draw a xline with a given height for the line and a given vertical position for the text? In other words, I need a short...

4ヶ月 前 | 3 件の回答 | 0

3

回答

回答済み
Create a patch which includes all the histogram profiles
@AndresVar: I also got a solution.... it has a few bugs, but it works in the way I was thinking... clear all; close all; clc; ...

4ヶ月 前 | 0

質問


Create a patch which includes all the histogram profiles
Hi, I have several profiles/skylines of histograms: hold on for i = 1 : 10 X = normrnd(3000,10,[1,1000 ]); histogram...

4ヶ月 前 | 2 件の回答 | 0

2

回答

質問


How can I plot the profile/skyline of an histogram from histcounts?
Hi, how can I plot the profile/skyline of an histogram from histcounts? This is my attempt with the function stairs, which does...

4ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Plot occurrences of values with bin edges, by using "histcounts" and "plot" functions
Hi, I have 1000 normally distributed random numbers (with mean = 3 and standard deviation = 10): X = normrnd(3,10,[1,1000]) I ...

4ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
Sum elements in the first column according to repeated values in a second column
I found this solution, but I would like to avoid the loop for: [a,b] = unique(A(:,2)); [~,d] = unique(A(:,2),'last'); for i =...

4ヶ月 前 | 0

質問


Sum elements in the first column according to repeated values in a second column
Hi, I have a two columns matrix, where the elements of the second column are repeated (here below in my example, 55, 98 and 17 a...

4ヶ月 前 | 2 件の回答 | 0

2

回答

質問


How to calculate the centroid / center of a patch?
Hi, how can I calculate the centroid / center of a patch? Maybe something like this? [Xc,Yc] = centroid(patch('XData',X,'YDat...

4ヶ月 前 | 3 件の回答 | 0

3

回答

質問


Detect abrupt changes in signals with functions "wavedec" and/or "cwt"
Hi, I read a MATLAB article called "Detecting Discontinuities and Breakdown Points", where both the wavedec (1-D wavelet decompo...

4ヶ月 前 | 0 件の回答 | 0

0

回答

回答済み
Display cell array elements/texts in a figure, (i) by using a single index, (ii) separated by a comma, and (iii) by using annotation.
I think I found a solution: i = [1 3 4]; % single index groups = {'London-Berlin','Rome-Paris','Madrid-Athens','Boston-Dallas'...

4ヶ月 前 | 0

| 採用済み

質問


Display cell array elements/texts in a figure, (i) by using a single index, (ii) separated by a comma, and (iii) by using annotation.
Hi, I have a cell array containing some text: groups = {'London-Berlin','Rome-Paris','Madrid-Athens','Boston-Dallas'}; I would...

4ヶ月 前 | 1 件の回答 | 0

1

回答

もっと読み込む