Frage


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.

etwa 11 Jahre vor | 4 Antworten | 3

4

Antworten

Frage


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

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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?

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 11 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

mehr als 11 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort