提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 3 个回答 | 0

3

个回答

提问


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

7 years 前 | 0 个回答 | 1

0

个回答

提问


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

7 years 前 | 0 个回答 | 0

0

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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?

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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?

7 years 前 | 4 个回答 | 0

4

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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'

7 years 前 | 3 个回答 | 0

3

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 0 个回答 | 0

0

个回答

提问


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?

7 years 前 | 2 个回答 | 1

2

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 4 个回答 | 0

4

个回答

提问


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

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 1 个回答 | 1

1

个回答

提问


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.

7 years 前 | 3 个回答 | 0

3

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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.

7 years 前 | 0 个回答 | 0

0

个回答

提问


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

7 years 前 | 2 个回答 | 4

2

个回答

提问


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?

7 years 前 | 0 个回答 | 0

0

个回答

提问


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)));

7 years 前 | 1 个回答 | 0

1

个回答

提问


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

7 years 前 | 2 个回答 | 0

2

个回答

提问


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

7 years 前 | 0 个回答 | 0

0

个回答

加载更多