# Sim

**Statistics**

RANK**1,911**

of 279,814

REPUTATION**27**

CONTRIBUTIONS

**143** Questions

**21** Answers

ANSWER ACCEPTANCE **
89.51%
**

VOTES RECEIVED**19**

RANK**18,336** of 18,772

REPUTATION**0**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **1**

ALL TIME DOWNLOADS**2**

RANK

of 128,638

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

Why is the calculated Rsquare different between the embedded fit function and the EzyFit function (from File Exchange)?

Why is the calculated Rsquare different between the embedded fit function and the EzyFit function (from File Exchange)? (1) R...

6 days ago | 1 answer | 0

### 1

answerQuestion

(i) x-and-y scales defined as "log", or (ii) calculate the log of variables, or (iii) loglog

Are these three methods (and the corresponding plots) equivalent ways to perform the same task ? % Method 1 figure axes('XSca...

19 days ago | 2 answers | 0

### 2

answersQuestion

from cell to datetime

A silly question: where is the error here below? a={'Monday, 03-Jul-2017 15:00:00'}; datetime(a,'InputFormat','dddd, dd-MMM-yy...

19 days ago | 1 answer | 0

### 1

answerQuestion

A suitable method to detect outliers from a non-normally distributed dataset?

I understood that a good/suitable method to detect outliers in a not normally distributed dataset (I would say skewed) would be ...

26 days ago | 1 answer | 0

### 1

answerQuestion

A faster and more compact way to create a list of distances among all the pairs of points

Hi, could you suggest a faster and more compact way to create a list of distances among all the pairs of points? My attempt her...

30 days ago | 3 answers | 0

### 3

answersQuestion

Find (local?) maxima when two maxima are adjacent to each other (maybe using islocalmax or findpeaks?)

In the following bar, I would have two max values (i.e. 37), one at location 1 and one at location 2 in the x-axis. Would it be...

1 month ago | 3 answers | 0

### 3

answersHow to change the Xtick direction of ONLY one of the two (top or bottom) X-axis lines ?

This is just a variation of the @dpb solution, that I have used in one case. Please note that I write it here - instead of addi...

2 months ago | 0

Question

When using xline, would it be possible to have the text in one color and the lines in another color?

When using xline, would it be possible to have the text in one color and the lines in another color? % Here, I would like to ha...

2 months ago | 1 answer | 2

### 1

answerQuestion

How to add different texts in xline, when using arrayfun ?

How to add different texts in xline, when using arrayfun, as in the following example? % Input and current status fig = figure...

2 months ago | 1 answer | 1

### 1

answerQuestion

How to change the Xtick direction of ONLY one of the two (top or bottom) X-axis lines ?

The following example shows two thick X-axis lines, one at the bottom and one at the top. I would like to set the "TickDirectio...

2 months ago | 2 answers | 0

### 2

answersQuestion

How to extract from a PDF a table that contains empty cells, and then, how to rebuild it as a Matlab table (or cell array)?

[EDITED] How to extract from a PDF a table that contains empty cells, and then, how to rebuild it as a Matlab table (or cell arr...

3 months ago | 1 answer | 0

### 1

answerHow to print a figure as a PDF, that has the same size of my figure (or, how to resize the PDF according to my figure dimensions)?

Solved, thanks to the @Luca Ferro's comment (Yes, similar to my old post - and sorry for asking something similar, I did not rea...

3 months ago | 1

| accepted

Question

How to print a figure as a PDF, that has the same size of my figure (or, how to resize the PDF according to my figure dimensions)?

How to print a figure as a PDF, that has the same size of my figure (or, how to resize the PDF according to my figure dimensions...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to bring a patch to the bottom of a figure?

How to bring a patch to the bottom of a figure? (Maybe with uistack?) [EDITED] In the following figure, I would like to have ...

3 months ago | 2 answers | 0

### 2

answersQuestion

A compact way to horizontally concatenate rows of many cell arrays ?

A compact way to horizontally concatenate rows of many cell arrays a{1},a{2},a{3},..,a{N} % especially for N>>1 as in the foll...

4 months ago | 2 answers | 0

### 2

answersQuestion

A compact way to sum the elements contained in two cell arrays (considering the case of empty cells as well)

Given two cell arrays a and b, as in the example here below, is there any compact way to: sum the elements of the first cell ar...

4 months ago | 2 answers | 0

### 2

answersQuestion

How to transform the normalized values of a histogram (i.e. the bars heights) in percentages?

How to transform the normalized values of this histogram (i.e. the bars heights) in percentages? I should multiply the bars va...

4 months ago | 1 answer | 0

### 1

answerQuestion

calculate the euclidean distance among all the pairs of nodes and use those resulting distances as the edges weights of the graph

Given the positions of nodes in a graph, i.e. x and y coordinates of each node, is there any compact way to calculate the eucl...

4 months ago | 1 answer | 0

### 1

answerQuestion

A simple way to find (in a cell array) rows that, once flipped, are duplicates of other rows?

A simple way to find (in a cell array) rows that, once flipped, are duplicates of other rows? E.g. in this example a = [ ...

5 months ago | 1 answer | 0

### 1

answerQuestion

Get shortest paths and distances among nodes without loop for (and possibly in a faster way)

How to get shortest paths and distances among nodes (selected from a list) without a loop for, and possibly in a faster way than...

5 months ago | 1 answer | 0

### 1

answerQuestion

How to request user input to press Esc or Enter ?

How to request user input to press Esc or Enter ? % this is a pseudo-code I wrote just to give an idea about what I am trying t...

6 months ago | 1 answer | 0

### 1

answerQuestion

Is it possible to use vertcat with dot notation?

EDITED Is it possible to use vertcat with dot notation? This is an example once I extract names from Excel files contained in a...

6 months ago | 3 answers | 0

### 3

answersQuestion

Find the value which is repeated in each row of a matrix (without loop for)

In each row of the following matrix, one of the values is repeated. For example, in the first row, the value 523 is repeated twi...

6 months ago | 2 answers | 0

### 2

answersQuestion

A very fast way to convert numbers into datetime ?

Is there any faster way then what showed in the following example to convert numbers into datetime ? % Input: time = [ 2.02210...

6 months ago | 2 answers | 0

### 2

answersQuestion

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

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

6 months 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"...

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

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

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

7 months ago | 1 answer | 0