photo

Sim


Last seen: 1 día hace Con actividad desde 2019

Followers: 0   Following: 0

Estadística

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

Ver insignias

Feeds

Ver por

Pregunta


How to create a table with interpreter latex?
How to create a table with interpreter latex? In the following example, I would like to have the text inside the table with int...

1 día hace | 1 respuesta | 0

1

respuesta

Pregunta


How to combine cells into a single cell?
How to pass from "a" to "b", here following? a = [{'[1,2)'}, {'[2,6)'},{'[6,11)'}]; % input b = {'[1,2)','[2,6)','[6,11)'}; ...

2 días hace | 1 respuesta | 0

1

respuesta

Pregunta


No InputFormat 'YYMMDD' found for datetime
Is there a way to transform '240331' into '31 March 2024' ? The following does not work: datetime('240331',InputFormat,'YYMMDD...

21 días hace | 1 respuesta | 0

1

respuesta

Pregunta


A more efficient or compact way to sort strings that contain dates
I have strings that contain dates. Those strings are in a "random" order, i.e. they are not ordered by following the dates, fr...

22 días hace | 1 respuesta | 0

1

respuesta

Respondida
One legend for a group of subtightplots
I found a way to add "side" legends still using subtightplot (not for grouped plots, but for single plots, that can occur more t...

28 días hace | 1

Pregunta


One legend for a group of subtightplots
In the following plot, formed by 4 subtightplots, how can I have just one (outside) legend for the left plots, and just one righ...

alrededor de 1 mes hace | 2 respuestas | 0

2

respuestas

Pregunta


sprintf in 2 lines, with 2 variables, in bold, and interpreter latex
In the following example, plot(1:10,1:10) alpha = 3; string = 'Hello'; text(5,5,sprintf('$\\textbf{%s}$ {\\boldmath$\\alpha=...

alrededor de 1 mes hace | 1 respuesta | 0

1

respuesta

Pregunta


How to get a bar plot with unequal bin intervals?
How can I show the following bars (bar_heights) with unequal bin intervals (bin_edges)? bin_edges = [0 5; 5 20; ...

3 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


The legend option called interpreter latex does not display the latex symbols correctly
If I use Interpreter latex in the legend, the latex text is not correctly displayed plot(1:10,1:10,'DisplayName','\eta_i') lin...

3 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Extract single-digit and double-digit numbers at the same time from a cell array with "regexp"
Hi, I am trying to extract the numbers from the following cell array: a={'1','3','6-10','11-20'}; If I use regexp, the number ...

3 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


exportgraphics with ContentType vector does not work properly
I am trying to export a large figure as a PDF, through exportgraphics(h,'Figure.pdf','ContentType','vector') Matlab creates a ...

4 meses hace | 1 respuesta | 0

1

respuesta

Respondida
Files read with "dir" have additional (nondesirable) characters
After the extremely useful comment of @Stephen23, I found a way to read my files: mypath = 'C:\Users\XXX\Desktop\...\'; files ...

4 meses hace | 0

Pregunta


Files read with "dir" have additional (nondesirable) characters
Some csv files read by dir as '._20190217.csv' instead of '20190217.csv' ? How to remove dot and underscore in the names ...

4 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


An automatic way to change \ with / (windows vs. unix) only for "addpath"?
Is there an automatic way to change \ with / (windows vs. unix) only for "addpath" As example, I would need to convert many add...

4 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


Error when writing file names into a txt file ("nonscalar strings are unsupported")
I have a number of pictures in a folder and I would like to simply get their file names and write them into a txt file: % input...

4 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


How can I create randomly scattered points between two circles?
How can I create randomly scattered points between two circles? I would like to have 3 inputs (assuming that the two circles ar...

5 meses hace | 3 respuestas | 1

3

respuestas

Pregunta


annotation with both "doublearrow" and "textblock", with same data units
I am employing the solution proposed by @Jorg Woehl in "Specify annotation position with respect to x- and y-axes values?" to us...

5 meses hace | 4 respuestas | 0

4

respuestas

Pregunta


Pass the text of fprintf to the plot's text
Would it be possible to pass the text of fprintf to the plot's text? x = rand(1,10); plot(x) m = mean(x); sd = std(x); a = ...

5 meses hace | 1 respuesta | 0

1

respuesta

Respondida
Unexpected interquartile range (IQR) result
my bad.. this is the solution: dataIQR = data( data > q(1) & data < q(3) ); and the vertical lines related to the quartiles n...

6 meses hace | 0

Pregunta


Unexpected interquartile range (IQR) result
For a number of distributions I would like to compare and show the interquartile range (IQR) and the standard deviation (STD). ...

6 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


An easy way to add the mean to boxplotGroup of Adam Danz?
Is there an easy and straightforward way to add the mean to the boxplotGroup of @Adam Danz?

6 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Mean of a cell array with different cell sizes?
Mean of a cell array with different cell sizes? % This works: a = {[1 3 4 5];[7 7 8 2];[5 4 1 9]} mean(cell2mat(a),2) % but ...

6 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


A compact way to reduce, or remove, the fractional part (separated by a decimal point) of numbers in a table
Given a table, could you please suggest a compact way to reduce, or remove, the fractional part (separated by a decimal point) o...

6 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


How to center the bars of the histogram over the elements of the input array?
How to center the bars of the histogram at the elements of the input array? I mean, in the following example I would like that ...

7 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


What is the mechanism or math behind the function islocalmax(A)?
What is the mechanism or math behind the function islocalmax(A)? I just refer to the the basic islocalmax(A) function, without ...

7 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Why does exportgraphics not fully work, when using yyaxis?
Why does exportgraphics not fully work, when using yyaxis? This is my minimum working example: clear all;clc;close all; % ...

7 meses hace | 1 respuesta | 0

1

respuesta

Respondida
Change properties in gscatter, based on the group label
Thanks both @Dyuman Joshi and @dpb! By mixing the @dpb and the @Cris LaPierre answers (that one from @Cris LaPierre is in Chan...

7 meses hace | 0

Pregunta


Change properties in gscatter, based on the group label
How to set some specific properties for a specific group (i.e. marker, markersize, one specific color), let's say for group labe...

7 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


How to adjust the (absolute) width of bars to 1 unit in a bar plot?
How to adjust the (absolute) width of bars to 1 unit in a bar plot? In the following example, the bars are larger than 1 unit: ...

7 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


How to display a few xticklabels from a set of selected xticks?
How to display a few xticklabels, like [4, 53] in the following example, from a set of selected xticks? selected_ticks = [2 3 4...

7 meses hace | 1 respuesta | 0

1

respuesta

Cargar más