Réponse apportée
MATLAB with JAVA
Yes, it's very straightforward: info <http://www.mathworks.com/help/techdoc/matlab_external/f44062.html here>.

presque 15 ans il y a | 0

Réponse apportée
Gaussian Filter
A Gaussian filter does not have a sharp frequency cutoff - the attenuation changes gradually over the whole range of frequencies...

presque 15 ans il y a | 1

Réponse apportée
shifting a gaussian pulse
tau has 2252 elements but x has 17 elements, so you can't build expressions that try to combine them with elementwise operations...

presque 15 ans il y a | 0

Réponse apportée
How to compute space-time gradients in video processing
The issue with image gradients is usually how much smoothing of the image data to do. This is a question not just of the noise i...

presque 15 ans il y a | 1

Réponse apportée
Truncating a normal/Gaussian distribution
You can do truncation like this: truncated = max(original, -1); but note that your results will not be from a normal dis...

presque 15 ans il y a | 0

Réponse apportée
How should I scratch this ticket?
I think that for such a hard problem, a collaborative solution is needed. % Collect expert opinion on the topic answers ...

presque 15 ans il y a | 2

Réponse apportée
Why do I get zero?
(TAhi-TAlo)/TAhi is close to machine precision, and it's this relative size that matters when comparing two almost equal numbers...

presque 15 ans il y a | 0

Réponse apportée
Writing parameters to a text file
See doc fprintf. This will do exactly what you want.

presque 15 ans il y a | 0

Réponse apportée
calculating zig zags from simple path analysis with XY input data
I believe this does what you are asking, but you should check it against some trial data. It counts turns which exceed 90 degree...

presque 15 ans il y a | 0

Réponse apportée
How to find a chunk of a certain number of zeros inside a vector
Another approach to finding the first group of 4 or more zeros: A = [0;1;1;1;0;0;0;0;1;1;1;1;0;1;0;0;0;1]; n = 4; c = ...

presque 15 ans il y a | 0

Réponse apportée
How to find a chunk of a certain number of zeros inside a vector
A = [0;1;1;0;0;0;0;1;1;1;1;0;1;] n = 4; To find the first group of 4 or more zeros: p = regexp(char(A.'), char(zeros(1...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
USE fft(x) as a highpass filter
You might find <http://www.mathworks.com/matlabcentral/fileexchange/28810-fourier-transform-demonstration this demo> helpful.

presque 15 ans il y a | 1

Réponse apportée
Morphological opearations
Have a look at doc bwmorph

presque 15 ans il y a | 0

Réponse apportée
return or break in nested loop?
If your code is a script (not part of a function definition), then "return" returns control to the keyboard - that is, it is lik...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Optical Flow
You could try using local feature matches to find the optic flow. Then your problem is essentially segmentation - you need to fi...

presque 15 ans il y a | 0

Réponse apportée
Image/Rectangle matching
The question boils down to: "How can I find a rectangle in an image?" Once you have found the coordinates of the corners of the ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Optical Flow
It's hard to know what you need - you say you have calculated the optical flow, so what is the problem? What kind of further pro...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
x,y coordinates of edge lines in image ??
[y, x] = find(the_edge);

presque 15 ans il y a | 4

| A accepté

Réponse apportée
Animation of image
Here's something simple that works - though it's not elegant or efficient: % image data bigIm = imread('street1.jpg'); ...

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Correlation Dimension
Have you tried Google? Googling "Grassberger-Procaccia matlab" gives, for example, <http://media.wiley.com/product_data/excerpt/...

presque 15 ans il y a | 2

Réponse apportée
Array Comparison
Try temp = myPicture.'; myFilter = temp(:);

presque 15 ans il y a | 0

Réponse apportée
Given a vector of assorted positive integers, how to create a vector with the means of every 2 integers inserted between each other?
result(1:2:2*length(v)-1) = v; result(2:2:2*(length(v)-1)) = conv(v, [1 1]/2, 'valid')

presque 15 ans il y a | 1

Réponse apportée
Given a vector of assorted positive integers, how to create a vector with the means of every 2 integers inserted between each other?
result = interp1(v, linspace(1, length(v), length(v)*2-1), 'linear')

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Given a vector of assorted positive integers, how to create a vector with the means of every 2 integers inserted between each other?
v= [2 6 8 3 1 9 4 5 7]; % data m = (v(1:end-1)+v(2:end))/2; t = [v; [m 0]]; t = t(:); result = t(1:end-1).'

presque 15 ans il y a | 0

Réponse apportée
How might I call java functions without having to use 'import <x>' in each function
"import" has no effect on the speed of a Java program. The statement only tells the compiler where to find classes so that it ca...

presque 15 ans il y a | 0

Réponse apportée
how to acquire a value from workspace
x = centroids(1); y = centroids(2);

presque 15 ans il y a | 1

Réponse apportée
3-D surface plot problem if Z is not a equation
Have a look at the example in doc TriScatteredInterp

presque 15 ans il y a | 0

Réponse apportée
how to use file downloaded from matlab central
Alternatively, put the file in any folder you like, and have a look at "Using the MATLAB Search Path" in the documentation - the...

presque 15 ans il y a | 0

Réponse apportée
how to generate floating points randomly????
matrix_rand = rand(rowsize, colsize);

presque 15 ans il y a | 0

| A accepté

Réponse apportée
How to use Log polar transformation to recognize scale n rotation invariant images
You can't use the log-polar transform on its own to match images where there is translation as well as scale and rotation change...

presque 15 ans il y a | 0

| A accepté

Charger plus