| MATLAB Central > MATLAB Newsreader > error in code |
|
|
|
I have a vector p and a threshold pthres. I want, starting from the beginning, to compare p with pthres and when p exceeds pthres to start summing up the p values until p falls below pthres for the first time. Then k=1 and the resulting sum corresponds to a value Q1. The next time this happens k=2, Q2 etc. This is what i have so far: |
|
On 10/18/2012 11:20 AM, dwi wrote: |
|
On 10/18/2012 7:39 PM, dpb wrote: |
|
On 10/18/2012 7:46 PM, dpb wrote: |
|
dpb <none@non.net> wrote in message <k5s50p$qth$1@speranza.aioe.org>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
