已回答
How can I estimate confidence bands for kernel density estimation?
You could use <https://se.mathworks.com/help/stats/fitdist.html _fitdist()_>, which gives you the bounds you are looking for.

8 years 前 | 0

已回答
This has bugged me for ages...How to stop MATLAB writing/drawing outside the plot area (I've tried past suggestions but no luck!!)
Workaround: you can hide it behind another axes object. f = figure; aH = axes; plot(rand(10,1)) text(9,0.5,'Cut me p...

8 years 前 | 1

| 已接受

已回答
How can I create a tree from a set of points?
<https://se.mathworks.com/help/matlab/ref/delaunay.html Delaunay triangulation?>

8 years 前 | 0

已回答
I want to adjust the marker, because it is too much tick, but with the "o circle".
If you use <https://se.mathworks.com/help/matlab/ref/scatterseries-properties.html scatter()> you can adjust the width of the ma...

8 years 前 | 0

已回答
Why is the factorial of 0 equal to 1?
<http://mathforum.org/library/drmath/view/57128.html Google is your friend>. And since it sorts of boils down to it being *de...

8 years 前 | 1

已回答
Finding patterns of numbers in my array
<http://se.mathworks.com/help/images/ref/bwconncomp.html _bwconncomp()_>

8 years 前 | 0

已回答
Approximate matching of numbers across 20 Matrices
A = [712549, 712658, 715188, 715935, 716613, 716948, 717319, 717764, 718091, 718484]; B = [714401, 716219, 717321, 717716, ...

8 years 前 | 1

已回答
How to plot a surface in Matlab?
You could use <https://se.mathworks.com/help/matlab/ref/image.html _image()_> instead.

8 years 前 | 0

| 已接受

已回答
How do I output a 64-bit unsigned integer as numbers without scientific notation?
I don't get it. If you define your value to be or if it actually is _uint64_ then Matlab displays all digits by default. Just tr...

8 years 前 | 3

已回答
how i reshape data matrix?
bla = rand(66,100); bla = bla(:)'; Please read the documentation on <https://se.mathworks.com/help/matlab/ref/reshape.html...

8 years 前 | 1

| 已接受

已回答
Visualizing min, max and mean
<http://se.mathworks.com/help/matlab/ref/errorbar.html> Or my home-brewed adaptation: <https://se.mathworks.com/matlabcent...

8 years 前 | 0

已回答
How could i shorten my for loop code?
numRows = 25 numStars = [1:2:numRows,numRows-2:-2:1]; numSpaces = (numRows - numStars) / 2; If you *really* want a l...

8 years 前 | 1

| 已接受

已回答
49T+245e^(-T/5)-545 = 0
<https://se.mathworks.com/help/matlab/ref/fzero.html fzero()> fun = @(x) 49*x + 245*exp(-x/5) - 545; result = fzero(fun,0)...

8 years 前 | 1

已回答
hey ..anyone can help me that how to plot vector field without quiver function?
You can adapt <http://se.mathworks.com/matlabcentral/fileexchange/27475-arrow-plotter the arrow file-exchange function> to your ...

8 years 前 | 0

| 已接受

已回答
PDF calcutaion and graphs
<https://se.mathworks.com/help/stats/ksdensity.html>

8 years 前 | 0

| 已接受

已回答
How can i create a stair step/curve?
<https://se.mathworks.com/help/matlab/ref/stairs.html>

8 years 前 | 0

已回答
how to add more country"s clock in program
Go figure, Matlab <http://se.mathworks.com/help/matlab/ref/timezones.html already lists them>

8 years 前 | 0

已回答
How can I obtain the differential equation from data?
<http://se.mathworks.com/help/optim/ug/optimizing-a-simulation-or-ordinary-differential-equation.html>

8 years 前 | 0

已回答
Variable overflow doesn't work
You can read about integer types <http://se.mathworks.com/help/matlab/matlab_prog/integers.html>. Specifically: _If you co...

8 years 前 | 0

已回答
How to change a pixel value of a RGB
imagename(100,100,:) = [0.1, 0.1, 0.1]; Please read about <http://se.mathworks.com/help/matlab/math/matrix-indexing.html ind...

8 years 前 | 1

已回答
Parallelization of independent computations to exploit 100% of multicore CPU (all cores)
<http://se.mathworks.com/help/distcomp/createtask.html> <http://se.mathworks.com/help/distcomp/createjob.html>

8 years 前 | 1

已回答
I am new to Matlab. I want to display the standard deviation and the mean on a histogram. Can i get Matlab to do this without having to insert the values as text manually?
vals = randn(1000,1); avg = mean(vals); h = histogram(vals); legend({sprintf('mean = %3.2f', avg)})

8 years 前 | 0

已回答
How to increase accuracy in contour plot,
Have you tried specifying the levels at which you want the contour lines to appear? Copy/pasting from the <http://se.mathwork...

8 years 前 | 0

已回答
filling array with different vectors
x1 = rand(1,5); x2 = rand(1,7); x3 = rand(1,10); result = [{x1};{x2};{x3}]; maxsize = max(cellfun(@(x) numel(x...

8 years 前 | 0

| 已接受

已回答
how to find prime numbers by using mod function
Much faster than @JohnBG tic primes_list=[]; for k=1:50000 L=mod(k,[1:50000]); L2=find(L==0); if l...

8 years 前 | 7

| 已接受

已回答
Could I name a function "SPHERE" without conflict with the built-in function "sphere"?
The answer for the rules on case sensitivity is: <https://se.mathworks.com/matlabcentral/answers/103146-is-matlab-case-sensitive...

8 years 前 | 0

| 已接受

已回答
access gdb variables from matlab
Looks like the Mathworks support team knows <https://se.mathworks.com/matlabcentral/answers/100111-how-can-i-set-breakpoints-in-...

8 years 前 | 0

已回答
how can i initialize a matrix (20/5) with random 0 and 1s
result = rand(20,5); result = result > 0.5;

8 years 前 | 0

| 已接受

已回答
For loop that takes element from certain locations in vector and creating a new one using picked out elements, please!
<http://se.mathworks.com/help/matlab/learn_matlab/array-indexing.html Please read this.> You don't need a loop.

8 years 前 | 0

已回答
How can i split a complex wave into sum of sinusoids and find the damping of each component??
Sounds like a job for a <http://se.mathworks.com/help/matlab/ref/fft.html Fourier transform>. <https://en.wikipedia.org/wiki/...

8 years 前 | 0

加载更多