Question


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...

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 1 answer | 1

1

answer

Question


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...

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 4 answers | 0

4

answers

Question


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); ...

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 1 answer | 3

1

answer

Question


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

10 years ago | 3 answers | 0

3

answers

Question


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

10 years ago | 2 answers | 2

2

answers

Question


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...

10 years ago | 1 answer | 0

1

answer

Question


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!

10 years ago | 1 answer | 0

1

answer

Question


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...

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 3 answers | 1

3

answers

Question


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; ...

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 2 answers | 0

2

answers

Question


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...

10 years ago | 2 answers | 0

2

answers

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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...

10 years ago | 1 answer | 0

1

answer

Question


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.

10 years ago | 2 answers | 0

2

answers

Question


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;

10 years ago | 2 answers | 0

2

answers

Question


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 ...

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 0 answers | 0

0

answers

Answered
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...

11 years ago | 0

Load more