Pregunta


How to remove the tic labels but not the marks?
I would like to remove tick marks on the y-axis but not on the x-axes. And I want to remove the labels (numbers) of all ticks.

más de 11 años hace | 4 respuestas | 3

4

respuestas

Pregunta


Are there any standard way to quantify the fit quality of mnrfit?
How to quantify the quality of the fit with one scalar value?

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

0

respuestas

Pregunta


How to arrange rows of a matrix to get a specific column in order?
are there any built-in function for this, or I have to extract that column, order it, and arrange the matrix separately?

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

2

respuestas

Pregunta


How to mix order of rows in a matrix?
With randperm it is possible to mix order of the components of a vector v: v(randperm(lenght(v))) But how to mix rows in a ma...

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

1

respuesta

Pregunta


How to create list of points from meshgrid output?
I need a grid, but not is the meshgrid matrix format. How to convert it to list of points like [x1 y1; x2 y2; x3 y3; ...]

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

1

respuesta

Pregunta


How to convert image array to double array?
filter.*image is not working, because filter is a double array and image is an integer array. I think MATLAB should convert inte...

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

1

respuesta

Pregunta


Which is the width and height dimension of imread result?
Why cannot found this in the imread documentation? And also the direction is not specified, I think the convention differs from ...

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

3

respuestas

Pregunta


how to check a path? file or folder?
I would like a path input argument, which can be path of a jpg file or a folder. If it is a folder, I would like to go through ...

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

3

respuestas

Pregunta


Is it possible to use function name as name of a variable?
for example sin = 1 is allowed, however I do not know is it correct or not? or myfunc = 2, if I have previously defined a myfunc...

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

1

respuesta

Pregunta


How to check vector of vectors data structure?
How to check if something is a vector of numbers or vector of vectors?

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

1

respuesta

Pregunta


How to generate random indicies?
I would like to generate k different random indices from 1 to N. One solution is randperm(N,k), however I do not need to shuff...

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

2

respuestas

Pregunta


Is there any solution to fit plane onto sampling data?
For example I have the variables x, y (or higher dimensional data in general) and a probability distribution p(x,y). I want to a...

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

1

respuesta

Pregunta


How to open matlab m files from hungarian folder?
MATLAB cannot open file if the name of the folder contains hungarian letters! How to solve this problem?

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

1

respuesta

Pregunta


How to read exif metadata of pictures?
Is it possible to extract EXIF data from jpg or raw pictures? (for Canon EOS 500D)

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

1

respuesta

Pregunta


What is the most compact form of a break?
Usually in a while loop 'if (...)', 'break', and 'end' goes to different lines, but I would like to use a compact form in one li...

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

1

respuesta

Pregunta


How to create a circular random variable without bias?
I would like to create an uniformly random angle between 0 and 360 degree. My problem is that 0 is equivalent to 360, therefore ...

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

1

respuesta

Pregunta


is it possible to use the syntax V(i) as a vector?
I've got a function which has collection of vectors with the same length as an output. Is it possible to somehow make this colle...

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

1

respuesta

Pregunta


How to create an optional input parameter with special name?
I would like to use an optional input parameter. As far as I know, the standard solution is: function myfunc(param1,param2,...

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

2

respuestas

Pregunta


How to use default values with deal()?
I use the fallowing method in a function to assign parameter values: parameters = [1,2,3]; temp_param = num2cell(paramet...

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

1

respuesta

Pregunta


How to set the default corner for origo in imagesc?
I would like to use origo in the bottom-left corner as mathematicians used to.

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

2

respuestas

Pregunta


How to set multiple values at the same time from a vector?
There is a vector v = [1,2,3], and I want to set a=1, b=2, c=3 in a compact form. I tried [a,b,c] = deal(v), but it is not worki...

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

1

respuesta