Pregunta


Is it possible to print multiplication sign on a plot title?
×

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is there a function to do this?
f(number,chars); f(12,4) = '0012';

alrededor de 8 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Why plotting is so slow?
I have a matrix with size 1500x1500, and the contourplot of this matrix takes 6sec in the script (tic-toc pair around the contou...

alrededor de 8 años hace | 0 respuestas | 1

0

respuestas

Pregunta


I am rally confused. Why parfor is slower than for in this very simple test situation?
tic A = 1:100; B = 1:100; Nx = 500; Ny = 500; x_values = linspace(0,1,Nx); y_values = linspace(0,1,Ny); ...

alrededor de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to adjust colorbar on the side of contour plots?
Is it possible to put colorbar on the left side instead of the right side? And is it possible to shift the colorbar more to the...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to compile a MATLAB script to an exe or a C-sharp or C++ code?
Is it possible to compile a MATLAB script to an exe or a C-sharp or C++ code?

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to enhance contrast on a grayscale image?
How to call eqhist to make the lowest value white and the highest value balck?

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible to save images into a single pdf with MATLAB without margin?
Is it possible to save images into a single pdf with MATLAB without margin? And is it possible to control the quality or compre...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to collect input parameters with a GUI window?
I need a checkbox, a string input, a selection from a list, a folder selection, and a done button. Are there any flexible method...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to select a point with coordinates with a GUI?
I would like to put an image on the screen, and select two points with the mouse in a GUI window. Is it possible? Moreover the i...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible to join pdf files with MATLAB?
Is it possible to join pdf outputs (plots or pictures/images) into a single pdf file with MATLAB?

alrededor de 8 años hace | 4 respuestas | 0

4

respuestas

Pregunta


How to put a function definition into a string?
I have a script, and I have an in-line function definition, for example like this: f = @(a,x) 1./(1+exp(-tan(a).*(x-a))); ...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to get back a name of a function as a string?
Is it possible to get back a name of a function as a string? For example I have myf = @(x) x^2; And I need 'myf'

alrededor de 8 años hace | 3 respuestas | 0

3

respuestas

Pregunta


How to vectorize function with 3 input vectors and 3-dimensional matrix output?
Let f = @(X,Y,Z) ...; and length(X) = Nx; length(Y) = Ny; length(Z) = Nz; How to write f if I want a matrix (M) with size Nx x ...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to estimate the runtime of a parfor-loop? Whats wrong with this?
I have a MacBook Pro 2017 with 3,5 GHz Intel Core i7. As I know i7 has 4 cores. I've tried the following example script: http...

alrededor de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to follow progress of a parfor-loop?
I would like to follow the run on a progress bar of a cycle. In case of simple for-loop is easy, but whatif I use parfor?

alrededor de 8 años hace | 2 respuestas | 1

2

respuestas

Pregunta


Can continue make parfor ineffective?
Allocation of workers are assigned by the compiler at the begining of the parfor cycles? Or is it decided on-line during the cyc...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to check monotonity of a vector?
How to check easily that components of a vector form a monotone (increasing) sequence or not?

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Is it possible to rewrite/update a printed line?
I want to simulate a progress bar during the run, so 1% has to be updated to 2% for example

alrededor de 8 años hace | 4 respuestas | 0

4

respuestas

Pregunta


How to convert '123' to [1,2,3]?
How to convert '123' to [1,2,3]? Which is the shortest way?

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is it possible to create an inline function which gives back n binary digits of a number in a vector?
The input parameters must be the number x itself, and the number of digits (N). So dec2base(x,2) is not good, because its output...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to do a cycle through a N-dimensional grid, if n is not fixed?
I know there is ngrid, but you have to know n. What if I want to do n for cycles, but I don't know n at the moment, it is a vari...

alrededor de 8 años hace | 1 respuesta | 1

1

respuesta

Pregunta


How to convert an arbitrary rational to binary digits?
I have a number n1/n2, where n1 and n2 are integers. I would like to convert to base-2 and get the digits in order.

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

3

respuestas

Pregunta


How to plot high resolution?
I would like to plot a histogram with 2048 bins. Is it possible plot and save it? pdf? retina display

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

2

respuestas

Pregunta


How to hide triangulation trace for fill or patch functions?
My poblem is that I can see the triangulation of a filled area in pdf. If you zoom into, you can see very thin white edges.

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

0

respuestas

Pregunta


Is it possible to set marker line width?
I want to use x and + marks with scatter but with bolder marks. Is it possible?

más de 8 años hace | 2 respuestas | 4

2

respuestas

Pregunta


How to set box line color?
The deafault is not black but dark gray if I save it to a pdf. I want black. How to set?

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

0

respuestas

Pregunta


Is it not possible to set script directory to current directory as default in MATLAB?
I dont want to always put this line in my scripts: cd(fileparts(which(mfilename)));

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

1

respuesta

Pregunta


How to draw bunch of line segments?
I would like to draw [x1 x2],[y1 y2] line segments, and I have data in the form X1(i) = x1 etc. and i=1:1000; Is it possible to ...

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

2

respuestas

Pregunta


How to draw one bar with different color?
I would like to draw a histogram, and change the color of the bar (corresponds to a bin) consisting a given value x. How to do t...

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

0

respuestas

Cargar más