提问


What is the data type of the output of the length function?
Why not indicated in the description? http://www.mathworks.com/help/matlab/ref/length.html I guess it is double, but why? Le...

10 years 前 | 2 个回答 | 0

2

个回答

提问


How to create a formated text output (for example rich text) from MATLAB?
I want to use bold face or text color or background somehow.

10 years 前 | 2 个回答 | 0

2

个回答

提问


How to save figure as appears on the screen? with the same aspect ratio, and font size, etc. ?
figure('units','normalized','outerposition',[0 0 .5 1]); hist(rand(100)); saveas(gcf,sprintf('%s.png',mfilename)); ...

10 years 前 | 2 个回答 | 0

2

个回答

提问


How to create a portrait figure?
I want to draw subplots on a portrait figure: 3 rows and 2 columns of square boxes. I can use outerposition to force figure wind...

10 years 前 | 0 个回答 | 0

0

个回答

提问


How to create a structure in which variables can be labelled with a string?
I need a data structure in which there are structs with common fields: xxx.mean, xxx.std, xxx.description, yyy.mean, yyy.std, y...

10 years 前 | 1 个回答 | 0

1

个回答

提问


How to use path in a script in which another script is loaded?
So have a script1.m in which another script is loaded such like this: cd(fileparts(which(mfilename))); run('myload.m'); scr...

10 years 前 | 1 个回答 | 0

1

个回答

提问


Is it possible write subroutines with input arguments in MATLAB?
So I dont want a function with definite output variables, but I want input arguments for my script. For example I want to loa...

10 years 前 | 3 个回答 | 0

3

个回答

提问


The integer data sructures such as int8 or int16 has NaN values?
The integer data sructures such as int8 or int16 has NaN values?

10 years 前 | 2 个回答 | 0

2

个回答

提问


Is it accepted to change counting index within a for cycle?
something like this is accepted? for i = 1:100 i = i+5; % do something end

10 years 前 | 3 个回答 | 0

3

个回答

提问


Is it possible to save the whole text of the command window at the end of a run?
I dont want to use fprintf twice to write on the command window and into a text file. Is it possible to write only on the comman...

10 years 前 | 1 个回答 | 0

1

个回答

提问


Is it possible to create and save integer vectors in MATLAB?
I mean, save it on less space than standard vectors with floating point numbers? or MATLAB automatically save integers in an eff...

10 years 前 | 1 个回答 | 0

1

个回答

提问


How to cut last empty space characters from a string?
Which is the most simple way to cut empty space characters at the end of a string (if exists)?

10 years 前 | 1 个回答 | 0

1

个回答

提问


How to go through folder in a given folder?
How to go through folder in a given folder? I have the folder from uigetdir.

10 years 前 | 2 个回答 | 0

2

个回答

提问


Is it possible to convert/transform a normally distributed random variable to a Poisson-variable?
Is it possible to convert/transform a normally distributed random variable to a sample from a Poisson-variable?

10 years 前 | 1 个回答 | 0

1

个回答

提问


Are there any predefined discrete color set with optimal neighboring contrasts?
I would like N colors in circular order with high (or highest) average contrast for neighboring pairs. Or just want a discret...

10 years 前 | 2 个回答 | 0

2

个回答

提问


How to change axes linewidth?
Is it possible to control linewidth of axis and tics?

10 years 前 | 4 个回答 | 0

4

个回答

提问


How to draw transparent grey lines on each other to make darker joints?
Is it possible to draw curves with grey lines such way that intersections are darker?

10 years 前 | 1 个回答 | 0

1

个回答

提问


how to display the name of an input function by a function functions?
I would like to write a function functions ff and run this way: ff(@inputfunc) which prints the name of the input function, i...

10 years 前 | 2 个回答 | 0

2

个回答

提问


How to load a jpg properly?
My problem is that the orientation of a picture can differ in the EXIF and in reality (for example viewed by Preview software). ...

11 years 前 | 2 个回答 | 0

2

个回答

提问


how to create a white image?
I would like to create a NxM white image. But how to put color vectors [256 256 256] into a 2D array?

11 years 前 | 2 个回答 | 0

2

个回答

提问


how to format integer numbers to start with filling zeros?
I would like to transform n = 1:12 to '01','02',...,'11','12'

11 years 前 | 2 个回答 | 0

2

个回答

提问


How to put two pictures next to each other?
I have a landscape and a portrait image, and I want to put them next to each other to form a single picture, so I want to resize...

11 years 前 | 1 个回答 | 0

1

个回答

提问


How to load data from other directory?
I want to load data from other director, but I want to set relative path instead of absolute. So how to step back from current d...

11 years 前 | 5 个回答 | 0

5

个回答

提问


What is drawable are?
For me: figure('units','normalized','outerposition',[0 0 1 1],'position',[0 0 0.5 0.5]); has the same effect as: fi...

11 years 前 | 2 个回答 | 0

2

个回答

提问


Is it possible to set the size of a figure with labels?
I would like to set the size of the whole figure and not the axes. Moreover, I dont want any margin, so for example x-label text...

11 years 前 | 2 个回答 | 0

2

个回答

提问


How to get the screen width?
Is it possible to set outer position of a figure in normalized units (for example to be equal to 1), than get the width in other...

11 years 前 | 2 个回答 | 0

2

个回答

提问


How to set the with of the figure window but keep the high flexible?
I would like to set the width of the window to be maximal (screen width), but I dont want to fix the height of the figure window...

11 years 前 | 1 个回答 | 0

1

个回答

提问


How to use different units for position and outerPosition?
Is it possible to set outerposition with normalized units, but position with other units (pixels or inches)?

11 years 前 | 2 个回答 | 0

2

个回答

提问


How to set paper size?
If I want to save my figure with a user defined height and width and crop etc. The proper way is to define the window size, and ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


How to control the next color?
I am using scatter plots: scatter(...); scatter(...); scatter(...); scatter(...); etc. Each of the plots has different colors ...

11 years 前 | 1 个回答 | 0

1

个回答

加载更多