MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > index endpoint to matrix 

I have a vector with indices, for e.g. 
"Naresh Pai" wrote in message <kec3s0$gl9$1@newscl01ah.mathworks.com>... 
"Jos (10584)" wrote in message <kedggo$ild$1@newscl01ah.mathworks.com>... 
"Naresh Pai" wrote in message <kee318$sd5$1@newscl01ah.mathworks.com>... 
k = b > 0; 
Another method: 
Bruno, 
No tags are associated with this thread.
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.