Pregunta


how to edit mnrfit?
I would like to change the max iterations in mnrfit. So I copied the mnrfit.m file, and simply edit the following line: iterLim ...

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

1

respuesta

Pregunta


How to save a figure with lots of data points?
Something is wrong. I have 100000 data points, and MATLAB displays the scatter plot within a second without any hesitation. Howe...

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

0

respuestas

Pregunta


Is it possible to plot the ticks but not the axes?
Is it possible to plot the small tics marks perpendicular to the axes, but not the x and y-axes?

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

1

respuesta

Pregunta


Is it possible to put subplots next to each other without any gap?
I would like to put square like subplots without axis and labels next to each other. I sit possible? Or I have to make a big mat...

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

2

respuestas

Pregunta


I would like axis off except xlabel, but this is not working, why?
This is not working for me: axis off; xlabel('something');

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

2

respuestas

Pregunta


is it possible to use square subplots?
if I use axis image: the problem is the gaps are too big between subplots, I would like to adjust the figure size also automatic...

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

3

respuestas

Pregunta


How to use really small dots in scatter plots?
I tried '.' but it is still too big for me. 'LineWidth', 0 is not possible (error) I dont know if a '.' dot has an outline or ...

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

1

respuesta

Pregunta


Is it not possible to set axis globally?
I have to set axis for each subplot? Is it not possible (for example) to set axis off globally?

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

1

respuesta

Pregunta


Is it possible to create a structure with fields but without defined values?
Is it possible to create a structure with fields but without defined values? and add values to the structure later?

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

2

respuestas

Pregunta


How to print the caller command of a function?
Inside a function, I want to print the command, which is used to call that function. For example print the following string: '...

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

2

respuestas

Pregunta


How to check if a string is an element of a string set?
For example the set is {"aaa" "bbb" "ccc"} and I want to check if mystring == "aaa" || mystring == "bbb" || mystring == "ccc"...

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

1

respuesta

Pregunta


is it possible to write a function inside a script?
is it possible to write a function inside a script? for example is it possible to put at the end of the script?

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

3

respuestas

Pregunta


is it possible to plot and save figure in console mode?
using the plot function in -nodisplay mode is possible without error or warning? and the plot can be saved in .pgn format?

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

1

respuesta

Pregunta


how to run function from the same folder?
I have a script and I want to run a function which is in the same folder, but I don't want to add the whole folder to the path.

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

0

respuestas

Pregunta


Is it possible somehow make vector of structure?
So instead of struct1, struct2, struct3, I would like to index them somehow: struct(i) or struct{i} or something like this, wher...

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

3

respuestas

Pregunta


is it possible to overwrite an input variable?
Is this a possible or good solution? No problem with the following code? function X = myfunc(a,b,c) if nargin < 3 ...

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

1

respuesta

Pregunta


Is it posible to monitoring conditional run time of a script?
I can calculate the run time of a script with tic-toc, but it is a varying value since other programs can use the computer at th...

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

1

respuesta

Pregunta


Is it possible to tilt displaying warning messages on the command window?
Is it possible to disabling the display of green warning messages? (by any command in general)

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

2

respuestas

Pregunta


How to make long title for a plot with automatic line breaks?
I would like to use a very long title, which should have lots of line breaks, but I want to put line breaks automatically to ach...

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

5

respuestas

Pregunta


Why is operator = is clever sometimes but not always?
M = zeros(N,6); M(:,1) = ones(N,1); % OK M(:,2) = ones(1,N); % OK M(:,[3,4]) = zeros(N,2); % OK M(:,[5,6]) = zeros...

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

2

respuestas

Pregunta


How to position flexibly the start of a for cycle?
My code is something like this: expressions_1 expressions_2 expressions_3 I need a for cycle, but the start of the cyc...

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

2

respuestas

Respondida
What is the shortest way to check the followings?
One of my problem is that isreal() is not good! For example isreal('ab') is TRUE. Why?

más de 10 años hace | 0

Pregunta


What is the shortest way to check the followings?
# non-negative real scalar # real valued vector having the length 2 # real valued numeric cell array containing 2 elements (le...

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

2

respuestas

Pregunta


What is the best way to organize parameters in a flexible way?
Interpretation of some parameters depend on other parameters, and I want to store a meaningful name if possible. As an example: ...

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

2

respuestas

Pregunta


Is it possible to control the gap in dashed line style?
Is it possible to control the gap between line segments for dashed line style?

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

1

respuesta

Pregunta


Is it possible to set a variable by its name?
I would like to make a for cycle, but the running variable should be defined by the user. For example: params = [1,2,5,7,1...

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

2

respuestas

Pregunta


What if I would like to force no bias term in multiclass logistic regression?
What if I would like to force no bias term in multiclass logistic regression? In this case, I cannot use the standard mnrfit fun...

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

0

respuestas

Pregunta


How to control lines in the legend?
In the legend there is small line element, but it is very ugly sometimes in case of dashed line. How to control its length?

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

1

respuesta

Pregunta


Is it possible to make larger gap between xlabel and the x-axes?
How to set the gap/space between x or y legends and axes?

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

2

respuestas

Pregunta


Is it not possible to change every font size on plots at the same time?
Is it not possible to change every font size on plots at the same time with only one command? (tics, legends, titles, axes, etc...

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

7

respuestas

Cargar más