回答済み
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 ...

14年弱 前 | 2

| 採用済み

回答済み
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 ...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

回答済み
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,...

14年弱 前 | 0

| 採用済み

回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

| 採用済み

回答済み
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...

14年弱 前 | 0

| 採用済み

回答済み
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 ...

14年弱 前 | 0

| 採用済み

回答済み
??? 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|

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

回答済み
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(...

14年弱 前 | 4

| 採用済み

回答済み
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? ...

14年弱 前 | 2

回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 4

| 採用済み

回答済み
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 ...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 2

回答済み
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 =...

14年弱 前 | 1

回答済み
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 ...

14年弱 前 | 0

| 採用済み

回答済み
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...

14年弱 前 | 0

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

14年弱 前 | 0

回答済み
???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);...

14年弱 前 | 0

| 採用済み

回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

回答済み
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(:,:...

14年弱 前 | 1

| 採用済み

回答済み
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...

14年弱 前 | 1

| 採用済み

回答済み
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...

14年弱 前 | 1

回答済み
'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...

14年弱 前 | 0

さらに読み込む