Réponse apportée
finding all the packets associated with particular IP address
Man, this is what AWK was built for! But never mind. To do it in MatLab, use regular expressions: packethist = { 1 ...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
How to model temperature distribution over time over a 2 Dimensional laminar with increasing accuracy?
There's a few ways you could do this, and it depends on a number of things about your problem that probably only you know. I ...

presque 14 ans il y a | 0

Réponse apportée
compare two splines
Is the stretching uniform? If so you could handle all that (including rotation) as follows: Sample your splines with a set n...

presque 14 ans il y a | 0

Réponse apportée
Changing subplot axis label using subplot handle
That's because the value for 'XLabel' is actually a handle to another object. To see its properties, do this: get( get(P1,...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
how to scan the first black pixel of top left on image
If your image data is grayscale or indexed (1 value per pixel), you can do this: [y,x] = find( img == 0, 1 ); If it's RG...

presque 14 ans il y a | 0

Réponse apportée
Question about colormap? how to change color from one image?
To detect your yellow, you need to find the relationship between the RGB channels that creates a yellow colour. Now, pure yello...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
GUI question
1. Build your other GUI. 2. Create the button in your main GUI and put code inside its click callback that invokes your new G...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Randomly accessing a file from a folder using Matlab
I understand your question in two different ways: 1. You want to choose a random file from a specified folder 2. You want ...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
??? Index exceeds matrix dimensions.
The variable |k| is either negative or is larger than the dimensions of one of |a|, |b|, |c|, |d|, or |x|

presque 14 ans il y a | 0

Réponse apportée
Ordering rows based on value
Try this: matches = [1,2;1,4;2,5;3,4;3,6;5,6;]; connected = matches(1); while size(matches,1) > 0 [r...

presque 14 ans il y a | 0

Réponse apportée
Writing a matlab program that is diagonally dominant? Very confused help please.
Did you solve this in the end? Think about it this way... For each row |r| in your matrix |A|, you want to test that |abs(A(...

presque 14 ans il y a | 4

| A accepté

Réponse apportée
Writing a matlab program to create a matrice column by column?
You need to be a little clearer... Do you mean this? A = [ 1 2 3 4 1 2 3 4 1 2 3 4 ]; Or this? ...

presque 14 ans il y a | 2

Réponse apportée
Grouping different time series on the same timescale
This is not very efficient, but is easy if you are in a hurry. Y = 1900:2012; % reference years V = nan( nu...

presque 14 ans il y a | 0

Réponse apportée
EDIT:(Getting a Different Error Now: " Index exceeds matrix dimensions".) >>User Inputed Word--> Yields a corresponding number.
Nah... Try this: colors = {'Blue', 'Red', 'Pink', 'Black', 'White'}; values = [12 20 2 15 12]; You can search for th...

presque 14 ans il y a | 0

Réponse apportée
How can I identify a pattern of occurrences over multiple days?
Well, what you could say is that a value is in the required set if you subtract the date 4 events ago from the date at the curre...

presque 14 ans il y a | 0

Réponse apportée
Max / Min of sparse matrices
Here is a solution for rows (similar for columns)... If you know that every row contains at least one non-zero value, you can...

presque 14 ans il y a | 0

Réponse apportée
How to normalize two images which have different lighting conditions?
Histogram normalisation can work quite well in some cases. First, you take a histogram of your reference image (where each bu...

presque 14 ans il y a | 4

| A accepté

Réponse apportée
how to make a video (captured from a camera) fullscreen.
I really would recommend that you add two black lines above and below the images to pad it out to 900 pixels. Is this what you ...

presque 14 ans il y a | 0

Réponse apportée
my output is not simplified to one number
Looks like you want: A .* sin(exp(B) - 2) ./ C; Where: A = [3931879, -1862469, 45497457, -18734247, ...]; B = [1...

presque 14 ans il y a | 2

Réponse apportée
Max/Min of nonzero rows/cols
When you say 'for every row and column', do you mean a single max and min for the entire matrix? This would do it: nzmin =...

presque 14 ans il y a | 1

Réponse apportée
can we use assembly code in matlab
You should probably try writing a MEX function in C, and embed your assembly code in there, or compile separately and link to a ...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
helicopter motion game* using matlab
If your labs have had you moving a rectangle with the mouse, and if this same style of interface is required to move your helico...

presque 14 ans il y a | 0

Réponse apportée
Multi mice tracking
Is this actually a MatLab question?? Have a look at this project: <http://cpnmouse.sourceforge.net/>

presque 14 ans il y a | 0

Réponse apportée
???error: Assignment has more non-singleton rhs dimensions than non-singleton subscripts.
I think you have a slight misconception about how to initialise your data sets. Start with this: data(x,y,6)=zeros(1,1,1);...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
how to compare two image which should neglect the lighting changes
Try using a threshold. Set a minimum amount of change to denote movement. Anything less than that value is noise. Lip movemen...

presque 14 ans il y a | 0

Réponse apportée
How to control number of threads in FFT ?
Don't know if this is any help, but: maxNumCompThreads will be removed in a future release. Please remove any instanc...

presque 14 ans il y a | 0

Réponse apportée
Subscripted assignment dimension mismatch
When you reference |BW(:)|, it turns your matrix into a vector. Just do this: IM_s(:,:,i) = BW; Assuming that |IM_s(:,:...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
Optimizing a 'for' loop
It really takes half an hour??? What hardware are you using? Anyway, the biggest improvement on this code is to stop calcula...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
create variable from function input
This makes no sense. If you want your input variables to be called something else, then call them something else in the first p...

presque 14 ans il y a | 1

Réponse apportée
'Restart program if error encountered'
Sorry, but I'm gonna be your Mum here! The usual approach is not for your program to die horribly and have to be restarted, but...

presque 14 ans il y a | 0

Charger plus