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

más de 13 años hace | 2

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 4

| aceptada

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

más de 13 años hace | 2

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 4

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 2

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

más de 13 años hace | 1

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

Respondida
Multi mice tracking
Is this actually a MatLab question?? Have a look at this project: <http://cpnmouse.sourceforge.net/>

casi 14 años hace | 0

Respondida
???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);...

casi 14 años hace | 0

| aceptada

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

casi 14 años hace | 0

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

casi 14 años hace | 0

Respondida
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(:,:...

casi 14 años hace | 1

| aceptada

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

casi 14 años hace | 1

| aceptada

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

casi 14 años hace | 1

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

casi 14 años hace | 0

Cargar más