Respondida
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. ...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
[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...

casi 15 años hace | 2

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

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 1

| aceptada

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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 ...

casi 15 años hace | 10

| aceptada

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

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

casi 15 años hace | 1

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 4

Respondida
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...

casi 15 años hace | 0

Respondida
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/...

casi 15 años hace | 0

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

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 3

| aceptada

Respondida
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...

casi 15 años hace | 0

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

casi 15 años hace | 0

Respondida
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 ...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
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 ...

casi 15 años hace | 0

Respondida
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 ...

casi 15 años hace | 0

Respondida
case insensitive strfind?
Use: strcmpi

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

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

casi 15 años hace | 1

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 1

| aceptada

Cargar más