14-Alexandrite
October 1, 2024
Solved
Exculde some values
- October 1, 2024
- 4 replies
- 2217 views
How can I exculde some values to get the function runing without affecting the results?
I want to exulde the zeros.
It is on page 28

Thanks in advance
If you really prefer to rather modify the vector, replacing zeros by NaNs, you may do it like this:

Personally I would prefer using a more generic, versatile utility function

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.