已回答
How to create Double Y plots with errobars?
My suggestion: x = 0:0.5:20; y1 = 200*exp(-0.05*x).*sin(x); y2 = 0.8*exp(-0.5*x).*sin(10*x); e1 = rand(size(y1))*2...

12 years 前 | 0

| 已接受

已回答
Log log plot
Try this code: plot(log2(rand(100,1)*128)) ytick = get(gca, 'YTick') str = cellstr( num2str(ytick(:),'2^{%d}') ) f...

12 years 前 | 1

| 已接受

已回答
Add a row to a matrix where find==1
B + A(logical(f),:)

12 years 前 | 0

| 已接受

已回答
How to update editbox uicontrol string during keypressfcn?
Try this code as a workaround: function test close all uicontrol('Style','Edit','String','matlab','KeyPressFcn',@clbc...

12 years 前 | 0

| 已接受

已回答
Removing NaN's and interpolating missing data
Take a look at this file: <http://www.mathworks.com/matlabcentral/fileexchange/4551>

12 years 前 | 0

已回答
Need Help in Plot
Change step size to -10e-11: p=10e-8:-10e-11:10e-13; n=1./(1-p); plot(p,n); In your case p and m are empty vecto...

12 years 前 | 0

| 已接受

已回答
change the color of bar
<http://www.mathworks.com/matlabcentral/answers/15298-color-histogram-as-a-function-of-x-axis> <http://www.mathworks.com/matl...

13 years 前 | 0

已回答
Problem in displaying a substring
doc fileparts doc strfind

13 years 前 | 1

已回答
problem with menu
There is no such options in *menu*. I suggest you to copy and edit this function. It is located in folder: matlabroot/toolbox...

13 years 前 | 1

| 已接受

已回答
Windows size for Input in dialog box
<http://www.mathworks.com/support/solutions/en/data/1-3J056R/index.html?product=ML&solution=1-3J056R>

13 years 前 | 3

| 已接受

已回答
error when call fun.
<http://www.mathworks.com/help/techdoc/matlab_prog/f7-58170.html#bsn_e9n-1>

13 years 前 | 0

已回答
Floating point value to integer value
*int8*, *int16*, *int32*, *int64* commands convert to integer.

13 years 前 | 1

已回答
has anywone written a 3D version of inpolygon
See *tsearchn*: doc tsearchn

13 years 前 | 0

| 已接受

已回答
How to solve filtration equation in porous media
*pdepe* funtion can solve it. Simple example: <http://www.mathworks.com/matlabcentral/answers/16550-pdepe-function>

13 years 前 | 0

已回答
ploting 3d constrains
Here is my proposition: [x,y] = meshgrid(20000:400:40000,0:800:40000); z = 90000-x-y; z(z>40000 | z<0) = NaN; surf...

13 years 前 | 0

| 已接受

已回答
saving an subplotted image
Do you want save it as one image or two separately images? If one: use <http://www.mathworks.com/help/techdoc/ref/print.html ...

13 years 前 | 0

已回答
Fourier Transform
See: <http://www.mathworks.com/help/toolbox/symbolic/fourier.html>

13 years 前 | 0

已回答
Stopwatch
Elapsed time is 1.425484891851347e+03 seconds.

13 years 前 | 0

已回答
Y-axis in subplots of Boxplot
X = rand(100,25)*120; subplot(2,1,1) boxplot(X) ylim([0 120]) set(gca,'YTick',0:10:120) subplot(2,1,2) ...

13 years 前 | 0

| 已接受

已回答
Matrix
[row,col] = find(A>5)

13 years 前 | 0

已回答
how to save polar plot figure automatically
<http://www.mathworks.com/help/techdoc/ref/print.html>

13 years 前 | 0

已回答
How to automatcly save a plot in matlab
Simple example: x = linspace(0,1,100); for k=1:10 stem(x,x/k) ylim([0 1]) filename = sprintf('pic%i...

13 years 前 | 0

| 已接受

已回答
Really Simple Matrix Multiply Question
Kronecker tensor product: kron(A,B)

13 years 前 | 0

已回答
How to plot 3 garph in one figure?
doc hold

13 years 前 | 0

已回答
How to create menubar in MATLAB?
In _Object browser_ check _figure_ and then in _Property Inspector_ set the _MenuBar_ property to _figure_.

13 years 前 | 0

| 已接受

已回答
Why does my graph look funny?
Compare your results with MATLAB ODE functions, e.g.: ode45(f,[0 10],0.1) If you increase the number of mesh points: ...

13 years 前 | 0

已回答
ODE 15 solver, "Too many output arguments."
*alpha* is a matlab function. It set transparency properties for objects in current axes. See also: <http://www.mathworks.co...

13 years 前 | 0

| 已接受

已回答
Extracting data from file.
doc fopen doc textscan doc fgetl etc.

13 years 前 | 0

已回答
surface fitting
Gridfit produce only smooth surface that approximates your data. If you want to calculate the coefficient _c_ from your model...

13 years 前 | 0

已回答
Problem with time in temperature distribution
Probably the temperature reaches a steady state before this time. Put these lines: Tfinal = flipud(T); Spacing = (20:5:4...

13 years 前 | 0

加载更多