Respondida
MATLAB: NaN problem with heat transfer program
Try running this code after the command dbstop if naninf to see where the problem is occurring.

casi 15 años hace | 1

Respondida
Fitting an integral
I think the heart of the problem is that |quad| only accepts scalars for the lower and upper bounds, so it cannot deal with the ...

casi 15 años hace | 0

Respondida
3D Box Plotting
For red color, use colormap([1 0 0]) If by making them a different color you mean the whole plot, you could substitute |[0 1...

casi 15 años hace | 1

Respondida
Fitting an integral
If your expression is a linear function of the coefficients, as in your example, you could do something like this: ftyp1 = ...

casi 15 años hace | 0

Respondida
Finding array elements that include a specified combination of values?
You can extract the parts of the date using yourDate = '201105'; switch length(yourDate) case 6 [Y,M] = datevec(your...

casi 15 años hace | 0

| aceptada

Respondida
Interpolating data from missing timesteps.
This is Andrew's wife. I prefer to collapse the data gap, do the operation, then re-nanfill the data gap. (I do this when calcul...

casi 15 años hace | 0

Respondida
Interpolating data from missing timesteps.
I'm not sure why you want an array that is 46x28x6. My interpretation of your question is that you have a 46x28 matrix of (spati...

casi 15 años hace | 0

| aceptada

Respondida
symbolic and numerical factorization in cholmod
This can be done in MATLAB version R2011a (see <http://www.mathworks.com/help/toolbox/mupad/math/math-linalg-factor.html#math-li...

casi 15 años hace | 0

Respondida
k nearest neighbor
See <http://www.mathworks.com/matlabcentral/fileexchange/15562-k-nearest-neighbors K Nearest Neighbors>.

casi 15 años hace | 0

Respondida
Plotting 2-D intensity slices as 3 D
You could do it using the <http://www.mathworks.com/help/techdoc/ref/slice.html slice> function. See also <http://www.mathworks....

casi 15 años hace | 0

| aceptada

Respondida
problem in executing,wiener program
Your problem occurs in this line: y = real(ifft2(Hf.*Xf))+sigma*randn(N,N); % circular convolution Your noise term does not ...

casi 15 años hace | 1

| aceptada

Respondida
ploting reversed laplace function
The Symbolic Toolbox does not substitute numeric values of |t| into the expression unless you ask it to. You could do this: ...

casi 15 años hace | 0

Respondida
polyfit semilogy
If |X| vs |Y| is a box count plot, you could <http://www.fast.u-psud.fr/~moisy/ml/boxcount/html/demo.html#7 calculate a local sc...

casi 15 años hace | 0

Respondida
take matrix out of ascii file
You should be able to do it with |textscan|. Try adapting <http://www.mathworks.com/products/matlab/demos.html?file=/products/de...

casi 15 años hace | 0

| aceptada

Respondida
Fminsearch for matrices
It sounds like the problem is with the dimensions of B*X. Does your initial value |x0| have the same dimensions as |A| and |B|?

casi 15 años hace | 0

| aceptada

Respondida
Do you suffer from keyboard latency in this forum?
I don't experience any latency. My download speed is 10Mbps and my upload is 500kbps - isn't the latter more relevant for keyboa...

casi 15 años hace | 1

Respondida
Integer values on contour plots displayed differently to decimalised values?
Suppose you have labeled the contours using commands like these: [x,y,z] = peaks; [C,h] = contour(x,y,z); text_handles = clab...

casi 15 años hace | 0

| aceptada

Respondida
Renaming folders
See <http://www.mathworks.com/support/solutions/en/data/1-CO5M97/index.html?product=ML&solution=1-CO5M97 How do I rename a file ...

casi 15 años hace | 3

Respondida
Millisecond accuracy
You might be able to do it. There is a lot of discussion on timing in <http://www.mathworks.com/matlabcentral/answers/4781-nano-...

casi 15 años hace | 1

| aceptada

Respondida
fit a 3d curve
If you have the <http://www.mathworks.com/products/curvefitting/ Curve Fitting Toolbox>, you could try <http://www.mathworks.com...

casi 15 años hace | 1

| aceptada

Respondida
matrix pre-allocation
The first command creates the full array |zeros(10000)| before turning it into a sparse array. The simplest way of creating the ...

casi 15 años hace | 1

| aceptada

Respondida
Problem Plotting 4D data
You might be able to do it using <http://www.mathworks.com/help/techdoc/ref/isosurface.html isosurface> with |isovalue=50|. You'...

casi 15 años hace | 0

| aceptada

Respondida
uitable in m-file
When I try this, I get a link saying "Please click here for more information." Clicking on it, I get "When you create a table, y...

casi 15 años hace | 0

| aceptada

Respondida
Solving a nonlinear equation problem
Now you have 18 equations for 11 unknowns, so the system is overdetermined. Unless some of these equations are redundant, you wi...

casi 15 años hace | 0

Respondida
nonlinear system of differential algebraic equations
I think |ode15s| is trying to estimate the derivative at the step change. You should run the integration with the first paramete...

casi 15 años hace | 0

| aceptada

Respondida
scope of disp()
Did you notice an error message? A quote in the middle of a string should be represented by two quotes. Try this: disp('Now...

casi 15 años hace | 0

Respondida
Solving a nonlinear equation problem
Your problem is ill-determined. You have three equations for six unknowns (and possibly a seventh, d). You need to either add so...

casi 15 años hace | 0

Respondida
ODE15s-Index exceeds matrix dimensions
@Mona, if you are writing files this long you should learn how to use the debugger (try <http://blogs.mathworks.com/videos/2008/...

casi 15 años hace | 0

| aceptada

Pregunta


How does MATLAB Answers break ties among answers?
In a <http://www.mathworks.com/matlabcentral/answers/5151-how-to-change-the-heaviside-function-and-how-to-use-the-new-function-w...

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

2

respuestas

Respondida
zero value in beronoulli trials !!!
The correct expression is M =P.^K.*(1-P).^(N-K).*factorial(N)./(factorial(K).*factorial(N-K)) If you have the Statistics...

alrededor de 15 años hace | 1

| aceptada

Cargar más