First  |  Prev |  Next  |  Last
Pages: 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573
parsing a matrix
Hello, I have written the following code to parse a matrix of size 3x1549849, each row to be converted to 19 matrices of size 271x301. [Nr,Nc]=size(N); Ncol=Nc/number_of_images; xcomp='Nx';ycomp='Ny';zcomp='Nz'; start_Ncol=1; for(jj=1:number_of_images) Nx=strcat(xcomp,int2str(jj)); Ny=strcat(y... 8 Jun 2010 12:34
Simulink Definite Integral
Hi, I've been trying to evaluate a definite integral in Simulink. I could not find one block to do the whole job. So, I used the regular integration block hoping that I will be able to evaluate the produced signal at two points (the integration limits), and then subtract the values. My question is: is there anyway t... 4 Jun 2010 12:33
add zeros between every 512 elements
i have a vector of size 20000 X 1 of 20000 elements inside i want to add 512 zeros between every 512 elements so after the first 512 elements i want to add 512 zeros and then the second 512 elements in the signal and then 512 zeros and so on till the end of the signal so the signal will be of length 40000 ... 3 Jun 2010 01:18
call java class from Matlab
hi all... I have created 3 classes by using java programming language, now I want to call FROM Matlab the class that contains main method, i.e. call java from matlab.. I found that Matlab support java, but I don't know how to call the main method.. Please help me.. thanks in advance ibtesam ... 3 Jun 2010 23:25
creating distribution of clusters within a matrix
Hi, I have a 200x200 matrix with all zeros created with matXX = zeros(200x200). Now I want to replace 1000 of these zeros with some other number (say, 1) in such a way that these 1's are distributed in such a way that they form some N (say 50) clusters of neighborhood 4 [i mean the distribution should give bwla... 2 Jun 2010 18:41
Compare two mat files
Dear All, I doing a test on the IEEE 802.11a model that is in simulink, and I want to compare the input of the wireless connection with the output to find what is the packet error rate and the bit error rate when applying different conditions on the wireless connection. I was able to save the input and the output... 8 Jun 2010 18:20
when to stop a simulate annealing when it doesn't stop by itself
Hi guys I posted something similar some time ago: This is a long story, I make it short: I am working in a project where I need to find a matrix defined by a third degree polynomial. Originally I thought that a good idea can be to find the solution iteratively using a gradient descent technique, so I implemented a ... 2 Jun 2010 18:41
Patch Callback by Face
I am using patch to generate many polygons with different colors, where each color represents a value. I would like to be able to click on a polygon and print what that value is in the command window. I'm attempting to do this by writing a callback for ButtonDownFcn. The patch command, however, generates a single... 2 Jun 2010 18:41
find nan in a cell array
if A is a cell array and has a nan in it how can I find this nan? ... 3 Jun 2010 08:55
Cell arrays containing cell arrays
Hi Everyone, I have data in cell arrays containing cell arrays. I would like to extract data from these cell arrays and store in a normal array. I am able to do it for a particular case using nested for loops. But I would like to generalize this problem such that I can extract any kind of cell array containing cell ... 2 Jun 2010 20:54
First  |  Prev |  Next  |  Last
Pages: 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573