Community Profile

Pasquale

13 total contributions since 2017

View details...

Contributions in
View by

Question

how to resize the correct dimension of figure?
I have this figure opened in GUIDE. How can I modify this figure in order to see all the objetcs correctly? (there are other obj...

11 meses ago | 0 answers | 0

0

Question

how to convert string to date?
I would convert this string '10:12:25 Tue 11-Dec-18' into a date with this format: 11/12/2018 10:12 AM. I tried to use the fun...

11 meses ago | 1 answer | 0

1

how can I select .mat file to load from part of the name?
Thanks for your answer. In my problem I have about 20 files with that kind of name. All of them must be loaded, but not together...

11 meses ago | 0

Question

how can I select .mat file to load from part of the name?
I need to load the following files one by one, using a for loop, because at each iteration I have to do some calculation with th...

11 meses ago | 2 answers | 0

2

Question

How to plot a surface?
Hi, I would to plot a surface from the coordinates of my points given by three vectors X,Y,Z. Is it possible? Which function sh...

casi 2 años ago | 1 answer | 0

1

Question

How to convert for loop to parfor?
I need to make my code faster and I am trying to convert for loops into parfor. Often I see this message: "the entire array or s...

alrededor de 2 años ago | 1 answer | 0

1

Question

How can I draw isolines?
I have a mesh of triangular elements and a figure obtained with trisurf(tri,x,y,z). How can I draw isolines of z values on this ...

alrededor de 2 años ago | 0 answers | 0

0

Question

How can I apply a filter using fminunc?
I have a function f(x) to minimize using fminunc, but I want to apply a filter to x after every iteration. This is a simple exa...

alrededor de 2 años ago | 1 answer | 0

1

Question

How can I write the values of a colourmap on each object?
I have a mesh of triangular elements and a figure obtained with trisurf(tri,x,y,z). I insert the colorbar, where each colour rep...

más de 2 años ago | 1 answer | 0

1

Question

What is the benefit to supply the gradient for function minimization?
Do you know if is it better to supply the gradient using 'fminunc'? For better I mean the time spent for analysis, and its accur...

más de 2 años ago | 1 answer | 0

1

Question

How to find a global minimum?
If I try to search the minimum of the function (that now I use as example) y=(1.2^-x)*sin(x), writing the following code, I obt...

más de 2 años ago | 1 answer | 1

1

How to minimize a function when variables do not appear directly?
Thanks for advice, but the problem is a bit different. I need a,b and c only to evaluate d. To make the problem realistic, a is ...

más de 2 años ago | 0

Question

How to minimize a function when variables do not appear directly?
The code is too complicated, so I resume its structure in equivalent way: I choose a start vector x, for example x=[x1 x2 x3 x4...

más de 2 años ago | 2 answers | 0