Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 3 answers | 0

3

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 2 answers | 3

2

answers

Question


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

10 years ago | 2 answers | 1

2

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 3 answers | 1

3

answers

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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.

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 3 answers | 0

3

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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)

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 5 answers | 0

5

answers

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 2 answers | 0

2

answers

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

10 years ago | 0

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 0 answers | 0

0

answers

Question


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?

10 years ago | 1 answer | 0

1

answer

Question


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?

10 years ago | 2 answers | 1

2

answers

Question


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

10 years ago | 7 answers | 1

7

answers

Load more