First  |  Prev |  Next  |  Last
Pages: 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422
How to make the output always be betweeb 0 and 1
Please help! This is part of my script. pb=[]; pb(1)=exp(-lam) for k=1:n pb(k+1)=(lam/k)*pb(k) end I want the values of pb to always be between 0 and 1. How do I specify this in my program? Thank you. ... 2 Jul 2010 16:51
Another MATLAB Builder JA Thread...
Howdy all, I am trying to create a Java project from my MATLAB code using MATLAB Builder JA. I have installed MATLAB Builder JA and added the path (.../toolbox/javabuilder) to MATLAB (version R2009b). Now when I click start in the MATLAB GUI and goto the MATLAB option then over to "MATLAB Builder JA". It shows up... 24 Jun 2010 10:43
I need help vectorizing my code please
In my simulations these loops need to be run through almost 200000 times. With my clumsy programming I estimate that this will take almost 20 days! I would really appreciate some help in vectorising and hopefully optimising this chunck of code (below) Thanks! %Y, A and O are matrices %c and ... 24 Jun 2010 20:49
I need help vectorizing my code please
In my simulations these loops need to be run through almost 200000 times. With my clumsy programming I estimate that this will take almost 20 days! I would really appreciate some help in vectorising and hopefully optimising this chunck of code (below) Thanks! %Y, A and O are matrices %c and ... 23 Jun 2010 22:46
floating point help!
Hello, I'm having an FP issue that's sort of driving me crazy. I'm doing some division by 10, subtracting, and taking a floor. Purely mathematically, this is exactly what I want to do: ------ num = 12; a = num/10; b = floor(a); c = a-b; d = 10*c; finalResult = floor(d); ------ However, these are the res... 24 Jun 2010 18:35
Thresholding Color Images
I am new to thresholding images. Does anyone have suggestions for what code to use to threshold RGB images? I need to keep the images in RGB, not in gray scale, which I have seen very often. Thank you in advance! Stacy ... 23 Jun 2010 22:46
FMINCON Message
Hey,I was doing a minimization problem in which I was using FMINCON function to optimize my objective function.For a certain value of k the number of constraints would change and the number of variables would get bigger. For k=1, the program is running and giving me good results.When k=2,3...and so on the program ru... 28 Jun 2010 09:29
data input of coxphfit function
When using the function coxphfit, how do I handle the data input when each of the predictors (covariates) has different vector length? Many thanks ... 2 Jul 2010 16:51
save workspace AND figures
Hi all, I understand how to use SAVE and LOAD to save/load the contents of the workspace. Is there a quick way to also save any open figures? It would be nice to be able to load a previous workspace and also have the previously open figures also re-populate. Anyone know of a function to do this? If not, I'll tr... 23 Jun 2010 19:31
extract certain elements from arrays
Hi all, I have thirty 10min mp3 recordings. Using a certain program I marked the start and end points regarding whether a person is talking or not. These start and end points are content of i1 and i2. Audiolabel contains the labeling of each sequence, i.e. 'speech' or 'nonspeech'. This is an example of the struc... 23 Jun 2010 19:31
First  |  Prev |  Next  |  Last
Pages: 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422