First  |  Prev |  Next  |  Last
Pages: 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
reassigning values of elements in matrix
"Namo Namo" <wynamo(a)yahoo.com> wrote in message <i1q828$sd0$1(a)fred.mathworks.com>... Thanks for the reply. Yes, the second output of unique is already what I want. I actually had a more general re-assignment problem to deal with, in which not just re-assign to the order stats. But now I find out I can just ... 16 Jul 2010 15:27
Using uitree with struct?
Bump. Anyone..... I am trying to do the same thing. "Matthias " <saurbier(a)student.tu-freiberg.de> wrote in message <hr8ssf$4hq$1(a)fred.mathworks.com>... Hallo, I have a problem using the uitree functionality. It works fine with directories and models, but I want to display the treeview of a struct. ... 16 Jul 2010 16:34
why is the profiler so slow on a Mac ??
"Alex Gardner" <alexg(a)ualberta.ca> wrote in message <h4l0h2$cv5$1(a)fred.mathworks.com>... I've been running the same Matlab script on both a Mac (OS X) and a PC (Vista). The processor speeds of the 2 computers are nearly identical. When I run the scrip from the Matlab command window on my Mac the 'toc' 'toc' lapsed... 16 Jul 2010 15:27
Mathematica 7 does not know that Sin[2z] = 2 Sin[z] Cos[z]
It calculates Integrate[1/(Sin[2 z]/2)^193, z] but returns Integrate[1/(Sin[z] Cos[z])^193, z] unevaluated. Cheers, Vladimir Bondarenko Co-founder, CEO, Mathematical Director http://www.cybertester.com/ Cyber Tester Ltd. ---------------------------------------------- "We must unders... 16 Jul 2010 15:27
reassigning values of elements in matrix
Thanks for the reply. Yes, the second output of unique is already what I want. I actually had a more general re-assignment problem to deal with, in which not just re-assign to the order stats. But now I find out I can just use table lookup or interp1. Say if I want to convert 3 1 4 to 1 2 3, and need to apply thi... 16 Jul 2010 15:27
Count occurences by row
Say I have a matrix a = [ 1 2 2 2 3 3 1 4 5 ]; I want to count the occurences of 1 2 ... 5, but by how many rows. That is, although 2 appears 3 times, but only in 2 rows. I can count the total times by tabulate(a(:)) or histc, accumarray, etc. But to count the total rows, I am doing a for loop for i =... 16 Jul 2010 17:40
Problem with deployment
Hi Shiva, I have a similar problem. Did you managed to solve it? And in that case, can you share the way you did it? Thanks a lot, Carlos "Shiva " <nr.shiva(a)gmail.com> wrote in message <htnkgn$llk$1(a)fred.mathworks.com>... I had created a package of .Net dlls and they are working as expected in the develo... 16 Jul 2010 14:20
ANN Training with PSO
Hi George, I am using your PSO Research toolbox 2007 version. I may have found a bug in your PSO Research toolbox code. When I set OnOff_SuccessfulUnsuccessful = logical(0); in the Control_Panel I get an error from the Standard_Output function : "Undefined function or variable 'w'. If OnOff_Success... 5 Aug 2010 02:40
avoid for
Hi, I have a matrix X [m x n] and a vector Y [m x 1] I want to update X following this algorithm for i=1:m for j=1:m if Y(j)<Y(i) rj = sqrt(sum((X(i,:)-X(j,:)).^2)); B = rj*coeff; X(i,:) = (1-B)*X(i,:) + B*X(j,:) + ui(iter,:); e... 16 Jul 2010 17:40
How to prevent:QueryInstrument: Instrument tool box: by stoping the Simulation
Hai all In my model I have serial Link using ToInstument and Queryinstrument blocks for serial communication. While Simulink is running, the QueryInsrument block is not reading the serial port after few seconds. because of this error the simulation stops. can any one suggest me the reason and how to stop this actio... 16 Jul 2010 14:20
First  |  Prev |  Next  |  Last
Pages: 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244