Community Profile

photo

Sim


Last seen: Today Active since 2019

Statistics

  • Thankful Level 3
  • First Review
  • First Answer
  • Revival Level 1

View badges

Content Feed

View by

Question


A concise way to sort the rows of matrix A in the same order of the rows of matrix B
Hi, do you know a way to sort the rows of matrix A in the same order of the rows of matrix B, but in a more concise way/code as ...

2 dagar ago | 1 answer | 0

1

answer

Question


How can I find if edges in a subgraph SG appear inside/belong to a graph G?
How can I find if edges in a subgraph SG appear inside/belong to a graph G? I have this example with a graph G: s = [1 1 2 2 2...

4 dagar ago | 1 answer | 0

1

answer

Question


A compact way to find elements of an array which are greater, equal, or less than the elements of a second array
Hi, I have two arrays a1 and a2 and I would like to get a third array b which indicates me which elements of a1 are greater, equ...

9 dagar ago | 2 answers | 0

2

answers

Question


Concatenate elements of cell arrays vertically
Hi I have a 3x1 cell array, where each cell contains a 2x8 double matrix: A = {[8 9 0 0 1 0 1 0; 5 3 0 0 1 1 1 1]; [2 4 0 ...

12 dagar ago | 1 answer | 0

1

answer

Question


classify "rows" of numbers contained in different arrays
Hi, I would need to classify "rows" of numbers contained in different arrays, and I would like to optimize the code (with a more...

17 dagar ago | 0 answers | 0

0

answers

Answered
How do I resolve a MATLAB installer fail with an error related to a lxe_win64 or .enc file?
HI, an issue about the R2021b's installation on a Mac... My internet works perfectly.... How to solve this ?

23 dagar ago | 0

Question


Crop white margins in a PDF file
Hi, I know this question has been asked already, but - so far - I did not find a suitable and easy solution. I have a PDF file ...

24 dagar ago | 1 answer | 0

1

answer

Question


No effect of the FaceLighting property on a single patch?
Hi, I was trying the FaceLighting property on a single patch but I could not see any difference between "with" and "without" tha...

26 dagar ago | 1 answer | 0

1

answer

Question


how can I use the function "table" in a loop when the number of input variables changes ?
Hi, how can I use the function "table" in a loop when the number of input variables var1,...,varN, in T = table(var1,...,varN)...

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

1

answer

Question


"contains" with multiple conditions
Hi, I have the following code A = "159 ( 51,1%) 13 (4,2% ) 139 (44,7%)"; A = textscan(A,'%s','Delimiter',' ')'; A{:}(contains...

ungefär en månad ago | 2 answers | 0

2

answers

Question


Remove simultaneously several substrings in a string
Hi, I have a string A = "159 (51,1%) 13 (4,2%) 139 (44,7%)"; and I would need to remove all the numbers among brackets (and br...

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

1

answer

Question


Find and remove part of a string which precedes a particular substring
Hi, I have cell arrays similar to A A = {{'all the governments have tended to practice politics of inclusion'} {'politics...

ungefär en månad ago | 2 answers | 0

2

answers

Answered
Undefined function 'extractFileText' for input arguments of type 'char'
OK, stupid question since I had not the Text Analytics Toolbox installed - After the installation of that toolbox, it worked wel...

ungefär en månad ago | 0

| accepted

Question


Undefined function 'extractFileText' for input arguments of type 'char'
Hi, when I try the following command str = extractFileText('mydocument.pdf'); I get this error Undefined function 'extractFil...

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

1

answer

Question


Use a single variable name/label with the dot notation, to get access to a table content
Hi, I have a table called "mydata" >> class(mydata) ans = 'table' from which I usually retreive data (stored in its columns)...

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

1

answer

Question


How to make invisible only a part of an axis?
Hi, I would like to make invisible just a part of an axis. Is it possible? If Yes, how? (note: figure created by @Adam Danz for...

5 månader ago | 1 answer | 0

1

answer

Question


How to create a secondary Cartesian coordinate system (three perpendicular coordinate axes) in Matlab?
Hi, is it possible to create a secondary Cartesian coordinate system (i.e. the three mutually perpendicular coordinate axes) wit...

5 månader ago | 1 answer | 0

1

answer

Question


Subgraph from selected edges
Hi, is it possible to extract a subgraph by selecting the edges, instead of nodes? If Yes, how? From the Matlab docs, I can see...

5 månader ago | 2 answers | 0

2

answers

Question


How to make the color in the "highlight" function stronger and well defined (not pale/transparent as by default) ?
Hi, it looks like that the highlight function gives a bit pale/transparent color, as shown in this figure: s = [1 1 1 1 1 1 2 3...

5 månader ago | 1 answer | 0

1

answer

Question


How can I extract quickly the numbers separated my commas and parenthesis from a txt file?
How can I extract quickly the numbers separated by commas and parenthesis from a txt file? My data in the txt file are like the...

6 månader ago | 2 answers | 0

2

answers

Answered
How to get shades and tints of a color hex with Matlab?
@DGM thanks a lot for your answer!! However, the code you wrote here does not work for me, but I changed it and it is now work...

9 månader ago | 0

Question


How to get shades and tints of a color hex with Matlab?
How can I get shades and tints of a color hex in an automatic way (maybe still represented as color hex, or also color rgb)? Is ...

9 månader ago | 2 answers | 0

2

answers

Question


How to make longer and thicker ticks in the colorbar?
How to make longer and thicker ticks in the colorbar?

9 månader ago | 1 answer | 0

1

answer

Question


standard deviation in errorbar
[a very silly question!] How to calculate the errorbar with 2 standard deviations in this example? x=1:10; y=rand(10,50); err...

11 månader ago | 1 answer | 0

1

answer

Question


How to get brighter colors in a colormap?
Hi, I would like to change the three colors in the bluewhitered colormap, i.e. red, white and blue into fuchsia, silver and emer...

12 månader ago | 1 answer | 0

1

answer

Question


Fast calculation of min for a cell array?
Hi, I have this cell array: A = 3×160 cell array Columns 1 through 5 {18×10754 double} {18×10754 double} ...

ungefär ett år ago | 1 answer | 0

1

answer

Question


How to draw a northarrow on a simple plot, and not on a map?
Hi, how can I draw a northarrow on a simple plot, and not on a map? I would need a northarrow where I can set the traditional...

mer än ett år ago | 1 answer | 0

1

answer

Question


How to put a thicker \widetilde in matlab?
Hi, I am writing a legend with interpreter latex and I would need a thicker \widetilde like the other parts of the legend's t...

mer än ett år ago | 0 answers | 0

0

answers

Answered
How to draw a curly brace outside the gca?
Solution provided by Walter Roberson: https://it.mathworks.com/matlabcentral/answers/621888-draw-objects-arrows-brackets-outsid...

mer än ett år ago | 0

| accepted

Question


Draw objects (arrows, brackets, ...) outside the axis area
I need to draw some objects (arrows, brackets, ...) outside the axis area.. Any idea on how to do it? In particular I would nee...

mer än ett år ago | 1 answer | 0

1

answer

Load more