Réponse apportée
Shading an area across zero
I think you are looking for this: <http://www.mathworks.com/matlabcentral/fileexchange/3550-shadeplotforemphasis MATLAB CENTR...

plus de 13 ans il y a | 0

Réponse apportée
How to simulate basic markov chain
Are you looking to do a simple matrix multiply? v = [1 0 0] m = [0.3 0.2 0.5; 0.2 0.1 0.7; 0.1 0.5 0.4] v = v * m...

plus de 13 ans il y a | 1

Réponse apportée
Need Conditional ElseIf statement
(0<w(5)<255) You probably mean this: ((0 < w(5)) & (w(5) < 255)) Evaluating yours left to right: 0<w(5)<255 ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
vector accuracy comparison graphically
I would take the mean of the three and then plot the percent difference from the mean. It really depends on the nature of the d...

plus de 13 ans il y a | 0

Réponse apportée
Modify the surf function to plot a surface including the end points of incomplete data matrix?
You would need to make patches instead of surface if you want triangles. See patch command.

plus de 13 ans il y a | 0

Réponse apportée
What does this matlab statement mean?
The brackets are a null input. They are the empty matrix. In cases like this the function is likely demanding an input, but th...

plus de 13 ans il y a | 0

Réponse apportée
Reverse an array by for loop
a = fliplr(a)

plus de 13 ans il y a | 0

Réponse apportée
masking in RGB image
<http://www.mathworks.com/help/releases/R2012b/images/ref/impoly.html impoly>

plus de 13 ans il y a | 0

Réponse apportée
Data access in sparse matrix
The truth is, a test is worth a thousand expert opinions. Have you run this through the profiler to confirm that it is the ma...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
how to write a while-loop for a function
flagMetTolerance = false while ~flagMetTolerance doMath flagMetTolerance = (error <= tolerance) end

plus de 13 ans il y a | 0

Problème


Siblings of a graphics object
Given a valid, scalar, handle of a graphical object: find the set of all objects that have the same parent as the original that...

plus de 13 ans il y a | 1 | 15 solveurs

A résolu


Siblings of a graphics object
Given a valid, scalar, handle of a graphical object: find the set of all objects that have the same parent as the original that...

plus de 13 ans il y a

Réponse apportée
surf plot grid line density
You seem to have learned how to turn off the gridlines. The best thing I can think to do is: hold on Then take a subset...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Experiences with release 2012b
*EDITOR NOTE: In the interest of putting these comments in the right place (answers to the question where they can be voted on) ...

plus de 13 ans il y a | 4

Réponse apportée
someone know how can i creat a zero crossing function for my code?
Do you want <http://www.mathworks.com/help/matlab/ref/fzero.html fZero>?

plus de 13 ans il y a | 0

Réponse apportée
FFT / Frequency Identification Real-Time compile capability
answered in comments

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
MATLAB toolbox wavelet time-frequency
answered in comments

plus de 13 ans il y a | 0

Réponse apportée
trying to make fft for this ifft code
answered in comments

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
create a 3d graph from a series of contours
i've finish, i used isosurface method..it works very good, ihave create a matrix x-y-number of plane

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Interpolation and volume calculation
<http://blogs.mathworks.com/videos/2007/11/02/advanced-matlab-surface-plot-of-nonuniform-data/ Video answer>

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How to vectorize a for loop?
400 Million long vector t seems excessive to me. What if you make it significantly shorter? I would lower your number of ite...

plus de 13 ans il y a | 0

Réponse apportée
Avoid for loops with if inside
If it is working, what are you trying to accomplish by changing it. Have you run it through the profiler to find out that this ...

plus de 13 ans il y a | 0

Réponse apportée
more than 256 colors in colormap no longer working
Currently, there is a 256 row colormap limit on the PC platform. The workaround is to manually reduce the colormap length, by ...

plus de 13 ans il y a | 1

Réponse apportée
I used the same data, but not get the same figure
<http://www.mathworks.com/help/releases/R2012a/toolbox/stats/kmeans.html KMEANS DOC> It looks to me like you are using the de...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Curve fitting in Matlab
params seems to be an input to the function. The code is pulling out specific values of that input and naming them something mo...

plus de 13 ans il y a | 0

Réponse apportée
How to turn a single vector into matrix in order to have mesh or 3D
x = linspace(-1,1); y = linspace(-1,1); [X,Y] = meshgrid(x,y); R = sqrt(X.^2 + Y.^2); surf(X,Y,R)

plus de 13 ans il y a | 0

Réponse apportée
change the color of multi lines in a graph
when you create each one, you can specify the color: colVec = [1 0 1; 0 1 1; 1 1 0] clf ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Change color intensity of part of image
While I can not answer this entirely here, I can offer you this: Images can be stored in MATLAB as NxMx3. You can modify eac...

presque 14 ans il y a | 0

Réponse apportée
random entry selection from a matrix
v = [1:10] vi = randi(numel(v)); choice = v(vi)

presque 14 ans il y a | 0

Réponse apportée
start for loop from non zero value
look at the value of number_panels on the very first time through the loops: hourly_deficit(number_panels + 1, number_turbi...

presque 14 ans il y a | 0

| A accepté

Charger plus