# Massimo Zanetti

### University of Trento

I have received the M.S. degree in Mathematics from the University of Ferrara, Italy and the Ph.D. in Information and Communication Technologies at the University of Trento, Italy. My research interests include variational methods to segmentation, numerical optimization, remote sensing image processing, change detection in remote sensing images.

**Statistics**

RANK**76**

of 257 929

REPUTATION**1 690**

CONTRIBUTIONS

**1** Question

**260** Answers

ANSWER ACCEPTANCE **
0.0%
**

VOTES RECEIVED**615**

RANK**9 119** of 17 771

REPUTATION**64**

AVERAGE RATING**4.80**

CONTRIBUTIONS**2** Files

DOWNLOADS **5**

ALL TIME DOWNLOADS**347**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

imadjust low_in high_in, why only in the range [0,1] ?

Hello, it looks a bit strange that the function imadjust accepts, other than single/double numeric types, also integer types, bu...

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

### 1

answerwhat is the meaning of this error?

Here the problem is not related to Matlab.. As far as I know opening a pdf from command line in Windows goes like this: path...

nästan 5 år ago | 0

| accepted

Convert Cell to Struct

<https://it.mathworks.com/help/matlab/matlab_prog/access-data-in-a-structure-array.html>

nästan 5 år ago | 0

Moving a greyscale image such that the lowest pixel with an intensity above 0 is at the bottom of the image.

Use the |circshift| function, which shifts arrays along one dimension. Here is an example: %generate an image (matrix) A...

nästan 5 år ago | 0

| accepted

How to fit multiple Gaussian functions in image without using the Curve fit GUI?

Hi Mishra, here it the function you need <https://it.mathworks.com/help/stats/fitgmdist.html fitgmdist>. It does fitting u...

nästan 5 år ago | 1

Matlab Training Course on your own: do we get a certificate? Which documentation is provided?

Hi Jesus, you can find all info about matlab certifications at: <https://it.mathworks.com/services/training/certification.h...

ungefär 5 år ago | 1

| accepted

how to read a textfile that contain an array of text values into matrix

Here is it, you should know how many columns your data span (I guessed by reading your file they are 25): %open file fna...

ungefär 5 år ago | 0

convert fixed point to real data

Does this help you? %get sfi a = sfi(pi); %convert to double d = double(a)

ungefär 5 år ago | 0

How to crop a square that has a rotational angle?

Inspect this: <https://it.mathworks.com/help/images/ref/roipoly.html roipoly> Here is an example of what you can do: %op...

ungefär 5 år ago | 2

How to enhance an image with respect to an image of much better quality.

Try considering this: <https://it.mathworks.com/help/images/ref/imhistmatch.html histogram matching>

ungefär 5 år ago | 0

Partial transparent surface plot

Play with Chart Surface Options: <https://it.mathworks.com/help/matlab/ref/chartsurface-properties.html> You can set |Alpha...

ungefär 5 år ago | 0

| accepted

How to make a curve smooth in spline block

If you want to approximate a set of points by a smooth curve you need a *smoothing spline*, not just a *spline*. Moreover, in yo...

ungefär 5 år ago | 0

Discard elements from structure array

There is a specific function to remove a field from a structure: <https://it.mathworks.com/help/matlab/ref/rmfield.html rmfield>...

ungefär 5 år ago | 0

Display values with fprintf

Here it is ret = 0.000065003; std = 0.0207; fprintf('The return is %.4e and the standard deviation is %.4f \n',ret,st...

ungefär 5 år ago | 1

How do I integrate this set of matrix data points

You just need one |for| loop as |trapz| operates also on matrices. This is the piece of code: A = rand(32); B = zeros(32...

ungefär 5 år ago | 0

| accepted

Multiple .txt input files

Use |dir| function to list files with .txt extension %list folder files files = dir('*.txt'); and put your code in...

ungefär 5 år ago | 1

| accepted

Cross correlation Between two matrices row by row

There are some issues in your code. # |crosscorr| function requires two vector inputs. |Ain01_correct(i,2)| it is not (it is ...

ungefär 5 år ago | 0

| accepted

Please help me in generating a random string(row vector) in which each element has a different upper bound.

The useful way is U = [2,3,4,5,7]; A = arrayfun( @(x) randi([0,x]) , U ) but, if upper-bounds are 1-digit numbers, y...

ungefär 5 år ago | 0

| accepted

How to display and delete different line in graph when checkbox check and uncheck

Yuo may find it useful reading these tutorials <https://it.mathworks.com/help/matlab/creating_guis/about-the-simple-guide-gui-ex...

mer än 5 år ago | 0

Error: Undefined function <func_name> for input arguments of type 'double'.

Refer to your 2nd line of code fhd = str2func('f1'); The string |'f1'| evaluates to nothing in Matlab, therefore the com...

mer än 5 år ago | 0

How do i represent a set of clusters points in scatter plot?

Hi, what you need is exactly Matlab <https://it.mathworks.com/help/stats/gscatter.html GSCATTER> function. Check out the help pa...

mer än 5 år ago | 0

| accepted

How to plot a mean value as a function of specific value pairs ?

First, notice that in Matlab |a=[ [1 2], [2 3], [4 5] ]| equals |a=[1,2,2,3,4,5]|. I guess, you meant to associate each entry of...

mer än 5 år ago | 0

Binary file reader using fread function

The |fread| function read data in binary format, thus sequences of 0s and 1s. Therefore, you can read raw data just as a sequenc...

mer än 5 år ago | 1

How to plot a function file

Check out the |stairs| function <https://it.mathworks.com/help/matlab/ref/stairs.html>

mer än 5 år ago | 0

Why is probplot not plotting the reference line for one matrix column?

The problem is not due to -0 (which is the same as 0). It seems that your data in the first column are not even close to be Gaus...

mer än 5 år ago | 1

3D surface plot from for loop

Most probably you don't want to plot a surface, instead a plot of a line in a 3D space. Try this: plot3(ang,Lp,d); grid on;...

mer än 5 år ago | 0

How to detect & remove steps from signal?

Differentiate your signal (function |diff| in Matlab). The steps are located at points where first derivative is very high. Once...

mer än 5 år ago | 0

| accepted

how to concatenate mat files of different row sizes but same column size vertically?

In this line of code: Fv_ROI_concatenated = [a.TwoD_fv_roi_rangefilt_bdip,b.TwoD_fv_roi_rangefilt_bilateral,c.TwoD_fv_roi_r...

mer än 5 år ago | 0

Better skeletonization of an image to found branchpoints

Dilate your image before skeletonize it. Try this: %read image G = imread('grid.jpg'); G = im2bw(rgb2gray(G)); %di...

mer än 5 år ago | 0

Is there an clustering algorithm with which I can declare expected centroid in advance?

The <https://it.mathworks.com/help/stats/kmeans.html k-means clustering> is what you need. You can start the algorithm by select...

mer än 5 år ago | 0