Answered
Two colormaps on one colorbar: one colormap covering all z data and the other covering a key region
define your own color map. Do you want all of jet to be between 2 & 3 and the rest to be bone?

15 years ago | 0

Answered
specifying the ydata for imagesc
perhaps: imagesc(X,log(Y),M) %or whatever your mapping is

15 years ago | 0

Answered
general statistics problem: how to best characterize non-normal distributions
I think a good distribution would be the Weibull and it is available in the statistics toolbox. You could then use the distribu...

15 years ago | 0

Answered
How to plot F1 X^2+Y^2+Z^2=0 and F 2 ax^2+bY^2-Z^2=0
doc ezplot3()

15 years ago | 0

| accepted

Answered
Bode diagram of a rectangular pulse
I think you are going to have to provide more information. in the mean time, try: bode % with no arguments

15 years ago | 0

Answered
Calculating sin and cos functions
sin() & cos() arguments are in radians. If you want degrees use sind() cosd()

15 years ago | 2

Answered
Using mean function
assuming x is the vector: mean(x(1:7)); mean(x(7:12));

15 years ago | 0

Answered
Critical Points of Multivariable function
do you mean syms x y %<-- note you wrote sysm

15 years ago | 0

Answered
Index Out of Bounds
apparently the code does not account for length of mm2 being 2. Other than that I can't decipher it.

15 years ago | 0

Answered
the length of the boundary
doc regionprops()

15 years ago | 1

Answered
3D graph in three 2D graph
I don't think there is an easier way, but you might want to check this out http://blogs.mathworks.com/pick/2011/05/13/oblique...

15 years ago | 0

Answered
Fast method to append or prepend rows of zeros
Preallocate firstM & secondM outside of loop e.g. firstM = zeros(10002,762);

15 years ago | 0

| accepted

Answered
Adding dates to the x-axis
doc datetick()

15 years ago | 0

Answered
Plot command, how to plot a signal with FFT result?
Why would you want to plot the time domain & Frequency domain on the same plot? Take a look at subplot as in : subplot(211)...

15 years ago | 0

| accepted

Answered
Magnetic field in a square loop 3D graph
Ok, so I think I understand what you are doing. Your calculations for o,p,r,s are not needed. While the magnetic field is depe...

15 years ago | 0

Answered
Higher order derivatives
I am still trying to digest the Richardson extrapolation, but I can offer a couple of suggestions. 1) your definition of h is...

15 years ago | 0

Answered
FFT peak estimation - binning
Unless I am missing something, you need a longer sample than 6 seconds. Frequency resolution = FFT points/fs In your case 1...

15 years ago | 0

Answered
write output to a .txt or .mat file
How about fprintf() dlmwrite()

15 years ago | 0

Answered
Help in solving the equation of van der vusse reactor
You need some parentheses, for example k10*exp(E1/t+273.15)*x %<-- your expression should be k10*exp(E1/(t+273.15)...

15 years ago | 0

Answered
camera angle from perspective
http://www.vision.caltech.edu/bouguetj/calib_doc/

15 years ago | 0

| accepted

Answered
Using ranksum function
yes doc ranksum will confirm that the input arguments need not be equal

15 years ago | 0

Answered
Changing nth value of a vector?
X %vector of 500,000 values X(1:10:500000)= newValue % assuming newValue is a constant

15 years ago | 3

Answered
Regression Estimates, Maximum Likelihood, Ordinary Least Squares
Seems like a simple multiple linear regression. Is e_t a constant?

15 years ago | 0

Answered
Overlaying histogram with lines and not bars
did you want something like x = 5+2*randn(1000,1); h = histc(x,(0:9)); stem(h,'b') or like plot(h,(0:9))

15 years ago | 2

| accepted

Answered
How to avoid NaN with numerical integration (quadrature)
I have no idea, but don't you have to declare the global variables in each subfunction? So for Lnpdfut(sg) you would al...

15 years ago | 0

Answered
Overwrite the same matrix passed into a function?
dateMatrix = changeDates(dateMatrix)

15 years ago | 0

| accepted

Answered
Graphing an equation similar to a circle (or pair of Dependent Equations) for data
You didn't give values for p, k & w , so I assumed they are all 1. So: ezplot('x^2+y^2-y') axis square

15 years ago | 0

Answered
trying to compare between matrixes
I don't think you are initializing 'a' properly. Try this: a=rand(8,4); a(a<=.5)=0; a(a>.5)=1;

15 years ago | 0

Answered
How to reshape into 1-D array??????????reply soon plz
Bin_array=reshape(B',1,[])'

15 years ago | 0

| accepted

Answered
Graduate Civil Engineering Student
try this from the file exchange http://www.mathworks.com/matlabcentral/fileexchange/4316-reverseplot

15 years ago | 1

Load more