Community Profile

photo

giannit


Last seen: fast 2 Jahre vor Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

All
  • GitHub Submissions Level 1
  • First Answer
  • First Submission
  • Solver
  • Thankful Level 3
  • First Review

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Is it possible to explode/expand a map? i.e. separate the countries by a given distance (such as exploding a pie chart)
I have this .shp file which represents the map of Italy, where each row represents a single region I'm able to plot it using ...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Gesendet


Fractional and Multifractional Brownian motion generator
Generates Riemann-Liouville fractional and multifractional Brownian motion paths with a given Hurst function.

fast 2 Jahre vor | 1 Download |

Thumbnail

Frage


Fit scatter plot with a curve
I'm trying to fit the following data (here plotted using scatter) with a curve so that the result will be something like this...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
How do I find the submatrix of a matrix?
[R,P] = ismember(B,A) if R contains all ones then B is a submatrix of A and P contains the indices of A where B is located, ie ...

mehr als 2 Jahre vor | 0

Gesendet


Circular progress bar charts
Radial/Circular progress bar charts

fast 3 Jahre vor | 3 Downloads |

Thumbnail

Frage


Fill a timetable outside the gaps
Consider the following timetable, which is just a toy to explain the problem dates = [datetime(2020,1,1) datetime(2020,1,1) dat...

fast 3 Jahre vor | 3 Antworten | 0

3

Antworten

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

etwa 3 Jahre vor

Frage


How to convert current figure to matrix 1:1?
The following code firstly saves the figure to an image, then converts the same figure into a matrix which however has not the s...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Size of saved figure differs from size of frame2im(getframe(gcf))
I need to create big images in which displaying lot of annotations, but my computer has a low screen resolution 1366x768. So I l...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to avoid the ending drop of the movmean curve?
I'm playing around with the built-in movmean function, which creates the moving average series of given data. I noticed that in...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Text in annotations is longer when using colors. Bug?
Using annotations in matlab I noticed that when I use colored text the spacing between words increases. See the example below I...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Remove the edge between two stacked bars
Consider the following stacked bars data = [2 1 ; 3 2]; b = bar(data,'stacked'); axis([0 3 0 6]) the plot I'd like to obtain...

fast 4 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Avoid +0 when using fprintf %+d
Consider the code names={'aba','cda','efa','fea','pod'}; numbers=randi([-1 1],5,4); for i=1:5 fprintf('|%s|%+d|%+d|%+d|...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Write unicode flag to text file
Using the html decimal codes is possible to write unicode characters to a text file, for example writecell({['down ' char(8595)...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Reduce loss of quality when using imfill and imfuse
By placing the following command right before the saveas one set(gcf, 'Position', get(0, 'Screensize')) the size of the output...

fast 4 Jahre vor | 0

| akzeptiert

Frage


Reduce loss of quality when using imfill and imfuse
I have to fill some regions of a black and white map, whose regions are black and are delimited by white borders. This is the c...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Fill regions of a map and keep the borders
My image is a white map of Italy with black (actually various shades of gray) borders which outline every province of the countr...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Reduce the line height for an annotation textbox
A workaround is simply to move the fontsize command of the last string to the middle string, that is annotation('textbox','Stri...

fast 4 Jahre vor | 4

| akzeptiert

Frage


Positioning bar and image in the same figure
I'm trying to print an image above a bar plot in the same figure, manually changing their position using the set command with th...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Properly put date labels with OuterPosition and datetick
I'm trying to change labels on x axis to be from 24/2/2020 to today (actually, at least 1 day after today, otherwise the curve w...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Reduce the line height for an annotation textbox
The following code annotation('textbox','String',{'\fontsize{10}TEST', '\fontsize{15}7,987,157', '\fontsize{10}+8,829'},'FontNa...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Exporting a cell array whose dots were replaced by commas, results in added quotation marks
I have strings in a cell array, I would like to replace dots with commas and then export it in a text file. The following code ...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Export a cell array containing unicode characters in a text file
How to export the following cell array containing the unicode characters U+2191 and U+2193 str={'this ↑ up','this ↓ down'}; in...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Variable horizontal alignment of cell array's strings in annotation
In the following example, I'm trying to center align the second string of arrcell while keeping the first and third strings alig...

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


What is z1 appearing when solving this nonlinear system for x y and z?
I'm trying to solve the following nonlinear system g = 1; b = 1; a = b+1; syms x y z eqn1 = 0 == -x^2/g-2*a*x-y^2/g+2*b*y+1...

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Is it possibile to use fsolve(fun,x0) giving input to fun?
I have to solve this system of equations: function F = root2d(x) [a,b,c,d,e,f]=feval(@(x) x{:}, {151.9,67,67.8,13790,4410,10...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Most efficent way of finding combinations of submatrices of a matrix
Say we have a matrix P of zeros and ones and we want to find the best(*) combination of non-overlapping submatrices of P, so tha...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Most efficent way of finding submatrices of a matrix
Say we have a matrix of zeros and ones 0 1 1 1 0 0 0 1 1 1 1 0 1 1...

etwa 6 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Display a message only one time in a recursion containing a for loop
Consider this simple code a=[1 1 0 1]; recursion(a) with function a=recursion(a) if isempty(a) ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort