Community Profile

photo

Sim


Last seen: 3 jours il y a Actif depuis 2019

Statistics

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

Afficher les badges

Content Feed

Afficher par

A répondu
How 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...

8 jours il y a | 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...

9 jours il y a | 1 réponse | 2

1

réponse

Question


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

9 jours il y a | 1 réponse | 1

1

réponse

Question


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

10 jours il y a | 2 réponses | 0

2

réponses

Question


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

13 jours il y a | 1 réponse | 0

0

réponse

A répondu
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)?
Solved, thanks to the @Luca Ferro's comment (Yes, similar to my old post - and sorry for asking something similar, I did not rea...

19 jours il y a | 1

| A accepté

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

19 jours il y a | 1 réponse | 0

1

réponse

Question


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

20 jours il y a | 2 réponses | 0

2

réponses

Question


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

environ un mois il y a | 2 réponses | 0

2

réponses

Question


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

environ 2 mois il y a | 2 réponses | 0

2

réponses

Question


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

environ 2 mois il y a | 1 réponse | 0

1

réponse

Question


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

2 mois il y a | 1 réponse | 0

1

réponse

Question


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

3 mois il y a | 1 réponse | 0

1

réponse

Question


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

3 mois il y a | 1 réponse | 0

1

réponse

Question


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

3 mois il y a | 1 réponse | 0

1

réponse

Question


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

3 mois il y a | 3 réponses | 0

3

réponses

Question


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

4 mois il y a | 2 réponses | 0

2

réponses

Question


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

4 mois il y a | 2 réponses | 0

2

réponses

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

4 mois il y a | 1 réponse | 0

1

réponse

Question


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

4 mois il y a | 1 réponse | 0

1

réponse

Question


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

4 mois il y a | 1 réponse | 0

1

réponse

Question


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

4 mois il y a | 1 réponse | 0

1

réponse

Question


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

4 mois il y a | 3 réponses | 0

3

réponses

Question


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

5 mois il y a | 1 réponse | 0

1

réponse

Question


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 ?

5 mois il y a | 2 réponses | 0

2

réponses

Question


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

5 mois il y a | 1 réponse | 0

1

réponse

Question


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

5 mois il y a | 1 réponse | 0

1

réponse

Question


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

5 mois il y a | 1 réponse | 0

1

réponse

Question


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

5 mois il y a | 1 réponse | 0

1

réponse

Question


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

5 mois il y a | 1 réponse | 0

1

réponse

Charger plus