Pregunta


How to add a subfigure on top of an other figure?
I would like to add a subfigure on top of another figure, like a legend. For example like this: http://www.mdpi.com/sensors/s...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to set line style and color of a line?
I can draw a line with the command line(0,10,5,5), but how to set line style and color?

más de 10 años hace | 1 respuesta | 1

1

respuesta

Pregunta


What is the proper format string for float?
I would like to print a float without unnecessary characters. 0.2, 1.25, 0.02, but in case of lot of digits, I would like to cu...

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to put cell array in sprintf?
Data is in cell array: {1,2,3,4,5} sprintf('%d,%d,%d,%d,%d ',???);

más de 10 años hace | 4 respuestas | 0

4

respuestas

Pregunta


How to assign parameters at the same time?
I have a vector v = [1,2,3,4,5] and I would like to do the following in a shorter form (in one line), if possible: a = v(1); ...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to load two .png figure and add them together with 50% transparency to get a new plot?
Is it possible to load two .png figure in MATLAB and add them together with 50% transparency to get a new plot?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use filled circles (dots) instead of empty circles in scatter plots?
How to use filled circles (dots) instead of empty circles in scatter plots?

más de 10 años hace | 1 respuesta | 3

1

respuesta

Pregunta


How to cut the end of a string which follows a special character?
For example: 'sahdklsjf_sdfs' to 'sahdklsjf'

más de 10 años hace | 3 respuestas | 0

3

respuestas

Pregunta


How to write _ in a plot title?
The problem is that _ means subscript!

más de 10 años hace | 2 respuestas | 2

2

respuestas

Pregunta


How to generate random positive semi-definite matrix with ones at the diagonal positions?
I can create random positive semi-definite matrix, but how to force the ones at the diagonal positions? I need a random correlat...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to create textbox with fixed width on a plot?
I would like to add paragraph with fixed width as a caption to the figure, but I don't want to set by hand the linebreaks!

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Haw to add new element of cell arrays?
I have a cell array of strings: {'abc','xyz','123'} and I would like to add a new element 'something' But I don't want to calc...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to save everything except one or two given variable?
It is possible to save all variables except one or two?

más de 10 años hace | 3 respuestas | 1

3

respuestas

Pregunta


What is the shortest way to make matrix from a vector using the 1-of-K coding scheme?
How to make matrix from a vector using the 1-of-K coding scheme but without a for cycle? (1,1,2,3,1,3,2) to (1,0,0; 1,0,0; ...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to write several functions into a single m-file?
Is it possible to write several functions into a single m-file and use them locally inside that file?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Are there any function calculating matrix inverse with hints?
Is it possible to give hint to a function which try to calculate the inverse of a matrix?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to set the precision or the number of iterations for mnrfit?
Is it possible to set the precision or the number of iterations for mnrfit MATLAB function?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to load a .mat file from the parent directory?
How to load a file which is in the parent directory of the running script?

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible to make figure caption?
I would like to save my plot as a png image but with text caption under it. I would like to make a big paragraph caption with th...

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible to set the gap for dashed style curves?
Is it possible to set the gap width for dashed style on a plot?

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to plot curves sequentially with different colours automatically?
I would like to plot curves with a for cycle and with the "hold on" solution, but it would be nice if the curves have different...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to extract a comment line from the script itself?
I would like to write the first comment line as a title on my plot.

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible generate and handle generated variable names?
For example is it possible to make a for cycle which generates the following variables? v1 = 1; v2 = 2; v3 = 3;

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to use logregfit.m or the package?
I woult like to use the logregfit implementation of multiclass logistic regression, but I cannot find out where to download and ...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


What is the difference between mvnrnd and normrnd?
I can not find out what is the difference between these two random number generator functions.

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to add noise correlation to multidimensional data?
What is the simplest way to add noise correlations to data? if I have N features and M samples or data vector

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


What kind of prior is used in mnrfit?
what is the prior used by the mnrfit algorithm?

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Are there any freely available mnrfit alternatives?
Are there any freely available multinomial regression toolkit for MATLAB beyond the standard built in mnrfit function?

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to fit spectral frequency of samples coming from periodical density function?
I have data/samples concentrated on ...,-3*d,-2*d,-d,0,d,2*d,3*d, ... etc. But data is noisy, and d is unknown. What is the be...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Respondida
Is it possible to delete "subplots"?
No, I am not using subplots (sorry for the ""), just plots on each other! So I would like to keep for example some shapes or fun...

casi 11 años hace | 0

Cargar más