# Sim

**Statistics**

RANK**2 081**

of 271 551

REPUTATION**22**

CONTRIBUTIONS

**121** Questions

**19** Answers

ANSWER ACCEPTANCE **
89.26%
**

VOTES RECEIVED**15**

RANK**18 156** of 18 318

REPUTATION**0**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **1**

ALL TIME DOWNLOADS**1**

RANK

of 120 106

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Which rows of a 2-column array contain elements of 1-column array.

When I look for the elements of 1-column array, a, inside a 2-column array, b, I would like to know which rows of b contain the ...

3 dagar ago | 1 answer | 0

### 1

answerQuestion

What is the fastest way to export a large matrix of numbers from MATLAB to Excel (preferably as .xlsx) ?

What is the fastest way to export a large matrix of numbers from MATLAB to Excel (preferably as .xlsx) ? It looks like there ar...

17 dagar ago | 1 answer | 0

### 1

answerQuestion

A very fast way to find elements and their indices? (Is ismember fast?)

A very fast way to find elements and their indices? (Is ismember fast?) This would be my example: % input: create arrays "a"...

18 dagar ago | 1 answer | 0

### 1

answerQuestion

A very fast way to (i) concatenate and (ii) calculate the difference of elements?

A very fast way to (i) concatenate and (ii) calculate the difference of elements ? Here below my case / example: a1 = dateti...

19 dagar ago | 1 answer | 0

### 1

answerQuestion

A very fast way to sort datetime (in "ascend" mode)?

A very fast way to sort datetime (in "ascend" mode)? Here an example: a = datetime([ '2022-10-27 00:22:50.000' '202...

19 dagar ago | 3 answers | 0

### 3

answersQuestion

Is there any way to see if the functions I am using in a script/code are included in toolboxes or in the basic Matlab ?

Is there any way to see if the functions I am using in a script/code are included in toolboxes or in the basic Matlab ? The bes...

27 dagar ago | 1 answer | 0

### 1

answerQuestion

Are the top-ranked Matlab users working for MathWorks, or do they have another job ?

Are the top-ranked Matlab users working for MathWorks, or do they have another job ?

27 dagar ago | 2 answers | 0

### 2

answersQuestion

How to use dbscan for durations ?

How can I use dbscan for time durations ? A = duration({'00:01:01' '00:00:53' '00:00:55' '00:00:54' '00:...

ungefär en månad ago | 1 answer | 0

### 1

answerQuestion

How to cluster data in a histogram ?

How to cluster data in a histogram ? Desired output Input A = duration({'00:01:01' '00:00:53' '00:00:55...

ungefär en månad ago | 1 answer | 0

### 1

answerQuestion

Avoid a "loop for" to add multiple "datetime" elements to a cell array

Given the matrix "a" % (1) create the cell array / matrix "a" a = cell(3,3); % (2) add the first elements to the cell a...

ungefär en månad ago | 1 answer | 0

### 1

answerQuestion

Add new "datetime" elements to an existing cell array (matrix)

What I have so far: a = cell(3,3); index = [1 1 2 1 3 3]; b = datetime({'00:01:35' '00:01:1...

ungefär en månad ago | 1 answer | 0

### 1

answerQuestion

code vectorization: assign numbers or datetime/durations to cell arrays, without any loop

Here following I am trying to assign numbers or datetime/durations to a cell array, without any loop. In one case the result i...

ungefär 2 månader ago | 1 answer | 0

### 1

answerdifference of datetimes using the "diff" function

ah.... probably this one ? >> diff(a,1,2) ans = 8×1 duration array 00:04:11 00:01:09 00:01:24 00:15:...

ungefär 2 månader ago | 0

Question

difference of datetimes using the "diff" function

I would like to find the temporal difference between the elements in the first (left) column and the elements in the second (rig...

ungefär 2 månader ago | 1 answer | 0

### 1

answerQuestion

compact way to plot "duration" elements, with different colors

Do you know a compact way to plot a set of duration elements in different colors, without the loop for ? % input (set of durati...

ungefär 2 månader ago | 1 answer | 0

### 1

answerQuestion

histogram of datetimes with customisable bin width

How to plot a histogram of (differences of) datetimes, with a customizable bin width, such as 1 minute ? This is my attempt, bu...

ungefär 2 månader ago | 2 answers | 0

### 2

answersQuestion

writetable for a double entry table

When I write a table with a double entry as a csv file.... labels_1 = {'FirstName' 'Height' 'Weight' 'BloodPressure'} labels_2...

ungefär 2 månader ago | 1 answer | 0

### 1

answerQuestion

How to create a double entry table ?

How to create a double entry table ? Here below an example:

ungefär 2 månader ago | 1 answer | 0

### 1

answerQuestion

convert exp number to datetime

Hi, I have this number that I would like to convert into datetime.. I am not sure about which function to use and how.. any sugg...

ungefär 2 månader ago | 1 answer | 0

### 1

answerQuestion

Compact way to plot data with relative colors and legend

Is there any way to plot data with relative colors and legend in a more compact way than this one ? Note: to remove duplicates ...

ungefär 2 månader ago | 2 answers | 0

### 2

answersQuestion

compact way to calculate euclidean distance among points

What is a compact way to calculate the euclidean distance among point "a" and the four points "b" ? % Input: a = [0,0]; % x_...

ungefär 2 månader ago | 1 answer | 0

### 1

answerQuestion

A compact way to find max in one column with a condition on the second column

Given a = [35 -1 21 1 11 2]; I want the max in the first column, but the max cannot be that one where ther...

2 månader ago | 1 answer | 0

### 1

answerQuestion

Automatic change of legend's arguments

Let's consider this example: labels = {'A','B','C'}; hold on for i = [1 2 3] h(i) = plot(rand(10,1)); end legend([h(1)...

2 månader ago | 1 answer | 0

### 1

answerQuestion

How to calculate the average radius of a boundary in Matlab ?

How to calculate the average radius of a boundary in Matlab ? % Example rng('default') x = rand(30,1); y = rand(30,1); plot...

2 månader ago | 1 answer | 0

### 1

answerQuestion

Compact way to calculate the centroid of a boundary of a set of points

Is there any compact way to calculate the centroid of a boundary of a set of points ?

2 månader ago | 1 answer | 1

### 1

answerQuestion

Error with clusterDBSCAN.discoverClusters

I was trying to run the Examples: Display Cluster Hierarchy, but I got an error. Any idea on how to solve it ? Here the cod...

2 månader ago | 1 answer | 0

### 1

answerQuestion

Is there any implementation of the KMD clustering in Matlab ?

In Choose Cluster Analysis Method I do not see the KMD clustering (core) clusters. Is there any implementation of the KMD clust...

2 månader ago | 1 answer | 0

### 1

answerQuestion

In "scatter"-related legends, how to make larger symbols ?

I tried to adapt the Adam Danz's solution for customising the legend properties related to a "plot", to, instead, the legend pro...

3 månader ago | 1 answer | 0

### 1

answerQuestion

how to remove/kill the figure produced with colormap

how to remove/kill the figure produced with colormap colormap('parula')

3 månader ago | 1 answer | 0

### 1

answerQuestion

San-serif \mathsf and \textsf are not supported when using interpreter latex (in Matlab R2022a)

When I run the following example, in which I use (1) \mathsf (2) \textsf and (3) interpreter latex together, plot(rand(3,10)); ...

3 månader ago | 0 answers | 0