Answered
remove holes and spikes from surfplot
To remove the nan-s use one of the inpaint-tools found on the matlab file exchange. Search for both inpaint_nans and inpaint. ...

15 years ago | 0

Answered
convolution of the corner pixel
If you have access to the image processing toolbox you can use imfilter (that also does linear filtering). Imfilter have some ex...

15 years ago | 0

Answered
[DEPRECATED] What frustrates you about MATLAB?
Once every now and then when I type a character or two at the commnd-line and hit "tab" for expansion matlab simply freezes, and...

15 years ago | 2

Answered
To perform convolution in image processing
If you cant use conv - then there is always the more relevant conv2!

15 years ago | 0

Answered
ODE with a parameter that chages at each time step
So you will have a sequence of ODEs to solve starting with the one for 0-crashes and then you want to plug in that solution into...

15 years ago | 1

| accepted

Answered
color as height
Depending on exactly what you want you could use "scatter" or "pcolor". See the help for those to determine which fits your wish...

15 years ago | 0

| accepted

Answered
Font becomes pixelized in some eps figures?
Somehow the print command decides which renderer to use based on something surely cunning - but the consequence is that when it ...

15 years ago | 10

| accepted

Answered
String problem
That is usually a bat thing to do. There is a busload of questions like this, and a good explanation in FAQ-s everywhere and the...

15 years ago | 0

| accepted

Answered
Creating a 3D image from the 3D data points
If you have, or can put, your voxels in a simple plaid grid the matlab function to try first is slice. Then there are a bunch of...

15 years ago | 0

Answered
3d triplot
trisurf, maybe. It is mentioned at the end of the triplot help.

15 years ago | 1

Answered
doubt on using blkproc functiom
Replace sum with nansum in your call to blkproc. If you dont have the statistics toolbox you can look for nansum in the file exc...

15 years ago | 0

Answered
Multiple colormaps with surface and patch
Maybe you can circumvent some of your problems with these tools from the file exchange: <http://www.mathworks.co.uk/matlabcentr...

15 years ago | 0

Answered
Where do people learn "bad" programming habits (i.e., goto, global, and eval)
In the last minute - that's where I've done most of my bad programming, when the frightening sound of the rapidly approaching de...

15 years ago | 4

Answered
How do I erase something I printed in the command window (to print something else instead)?
If you want something at the command-line you could also use: <http://www.mathworks.co.uk/matlabcentral/fileexchange/21887-pr...

15 years ago | 0

Answered
how to make lenses in matlab?
There is at least one tool for calculating ray-paths through optical systems on the file exchange: <http://www.mathworks.co.uk/...

15 years ago | 0

Answered
units of optical flow velocities
I'd bet it is pixels per time-period between exposures of the two images.

15 years ago | 0

Answered
Specgram vs Spectrogram
The help for specgram (in the signal processing toolbox) I find in an older version of matlab (2004) it says that the calling se...

15 years ago | 3

| accepted

Answered
3D spherical histogram
Well if you want a 3-D histogram (that is with bins in R, theta and phi) you should be well helped with these 3 FEX contribution...

15 years ago | 0

Answered
Extract natural frequencies from acceleration data by FFT
At the matlab command line prompt type: help spectrogram

15 years ago | 0

Answered
Program Optimisation: Out of Memory
Maybe you can cut up your problem and work with subsets of idx in sequence. This might not be "ideal" but if nothing else works ...

15 years ago | 0

Answered
how to combine median and mean filter to remove noise at a time?
such a general question! One definition of noise I've seen is that it is all signal that you're not interested in. Defined thusl...

15 years ago | 0

Answered
Curve Fitting Techniques
fminsearch (and functions that use fminsearch such as John d'Errico's fminsearchbnd, and others on the file exchange) does not n...

15 years ago | 0

| accepted

Answered
ODE discrete variable problem
Maybe you can get by by using the events field sent to the ode-integrating function. That is what is used for example to calcula...

15 years ago | 0

Answered
Noise in ECG data
Talha, what is the noise you're after in your original image? Is it the point-to-point variation? If so you should be fine with ...

15 years ago | 0

Answered
Trying to find a histogram half-sum point
This slight modification seems to work as I expect it would: sum_h = sum(h) cumsum(a) a = cumsum(h) <= sum_h/2 ...

15 years ago | 0

Answered
case insensitive strfind?
Use: strcmpi

15 years ago | 0

Answered
how to use matlab remotly
Also if you run long sessions from Linux/UNIX/(Mac?) over network you have to guard yourself from time-outs that close the conne...

15 years ago | 0

Answered
Add to existing .mat files
-append should do the trick. Check for spelling with: help save. HTH,

15 years ago | 1

| accepted

Answered
Solving Integral for an Unknown Interval
One super-tool you should take a long look at is the Chebfun tools: <http://www2.maths.ox.ac.uk/chebfun/> and my Q-D stab wo...

15 years ago | 0

Answered
spectrogram plotting in matlab
Ok, for this I guess you could do something like this: t=0:0.001:2; % 2 secs @ 1kHz sample rate x=chi...

15 years ago | 1

| accepted

Load more