Aug 9, 2016 #1 D DaHomer Newbie level 5 Joined Jul 30, 2016 Messages 9 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 70 Hi, I just want to check for each element of a waveform vector, if it is greater than 1. The result should be a vector of the same size with 0 and 1 as values. Do you have an idea, how to do this? Greetings, DaHomer
Hi, I just want to check for each element of a waveform vector, if it is greater than 1. The result should be a vector of the same size with 0 and 1 as values. Do you have an idea, how to do this? Greetings, DaHomer
Aug 9, 2016 #2 pancho_hideboo Advanced Member level 5 Joined Oct 21, 2006 Messages 2,847 Helped 767 Reputation 1,536 Reaction score 733 Trophy points 1,393 Location Real Homeless Activity points 17,490 Do you surely mean vector ? Data of PSF is not vector. It is a waveform. Waveform consists from two vectors. plot( if(wf > 1.0 then 1.0 else 0.0) )
Do you surely mean vector ? Data of PSF is not vector. It is a waveform. Waveform consists from two vectors. plot( if(wf > 1.0 then 1.0 else 0.0) )
Aug 9, 2016 #3 D DaHomer Newbie level 5 Joined Jul 30, 2016 Messages 9 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 70 Excuse me, I meant Nx2-matrix or waveform.:grin: Thanks for the help, that works!