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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 2

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 1

| akzeptiert

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 10

| akzeptiert

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

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 1

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 4

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 3

| akzeptiert

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

fast 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

Beantwortet
case insensitive strfind?
Use: strcmpi

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

| akzeptiert

Mehr laden