First  |  Prev |  Next  |  Last
Pages: 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
concatenate arrays
Hi all. I have a matrix A=[1;1;1;1;1;1;1] and a matrix B=[1;2;3]. I want to create a matrix C=[1;2;3;1;1;1;1]. Perhaps this is not very difficult but I am not being able to solve this. Any suggestions would be helpful.Regards ... 20 Jul 2010 10:14
remove row if it is 'mirrored'
"Natalie Sin Hwee " <sin.ng09(a)imperial.ac.uk> wrote in message <i248bi$n9k$1(a)fred.mathworks.com>... Dear Mathwork users, I have a 6000x2 matrix: 1 88 1 67 2 31 2 30 2 88 2 65 3 31 3 61 3 71 3 79 ... 20 Jul 2010 10:14
while loop
Hi I am reading the file 'z' 'x' 'o,p,q,r,s,t,u,v,w,T' 'A*p+B*u' 'y*p+D*q+E*r+F*s' 'G*q+H*r+I*t' 'J*q+K*s+L*x' 'M*r+N*o+O*t+2*x*P' '2*x*Q+R*o+S1*s+P*t+U*T+V*z' 'W*o+N*t+X*T+R*2*x+Y*v' 'd*w+e*v+f*u' 'g*u+h*p+i*w+j*v' 'k*v+l*o+m*w+n*u' 'Z*T+2*x*a+b*z+c*o' using fid=fopen('/sim/TLV1117LV_DS/x0138322/scr... 20 Jul 2010 11:20
Compare cell and double variables
I have two variables (let's say A and B). A = [99;201;333;394;501] *(5x1 double) B = {'333';'501';'629'}; *(3x1 cell) I need to know if the values in A are also in B and use that in an if/then/else statement. Something like this: if (%/a value in A is also in B\) 'do this' else (%/which means that a value in A ... 20 Jul 2010 11:20
problem with while and if
Hi, I have to use a while loop and inside a test with an if. I know it's bad but I don't have the choice. If I don't write a pause or a drawnow between the two loop, MatLab crash. In fact, at the end of my loop, I refresh a figure. It takes too much time and I want it faster. I had a "drawnow" after my "set" but this... 21 Jul 2010 11:20
matlab code for gsm codec
hi I am looking for Matlab code of GSM Full-Rate (13 kb/s RPE-LTP) and GSM Enhanced Full-Rate (13 kb/s). i need a matlab code thanks ... 20 Jul 2010 09:09
How to update legend when delete a plot line?
Dear all, When setting a new color to a plot line, the legend color can update automatically. However, if you delete a plot line, the legend does not change anything, how to update legend? hf = figure(1); hp=plot(rand(10,2)); legend('data1','data2'); % now you can see that two plot line with legend 'data1' and 'da... 27 Jul 2010 01:55
white and color gaussian noise and his statistics
hi i need to generate 2 noises kind of samples: white and color the white is easy - randn the color is too: filter the white through a filter (for example y(n)=a*y(n-1)+(1-a)*x(n)) how do i compute the statistics of the noise - the mean vector and variance matrix practically: in case of white noise it's kin... 20 Jul 2010 11:20
how to find currently focussed uicontrol
Hello I have a figure with several uicontrols on it. I'd like to know which uicontrol the user has currently focussed. How could I do that? thanks, Kusi ... 20 Jul 2010 09:09
SimEvents 'one-too-many' gates problem
Hi, I am experiencing a peculiar SimEvents problem to do with gates components and I wonder if anyone else have had a similar problem. For a system I am modelling I have crated a base model, executed it and noted the behaviour, i.e. the graphs displayed in the inserted scopes. Then I started refining the model to... 20 Jul 2010 09:09
First  |  Prev |  Next  |  Last
Pages: 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221