Let's say a = [5; 4; 3; 2; 1], and I need all entries> 3, so I want it to spit out v = [5,4].
I know that “find” only finds indexes, so it doesn't work.
any suggestions?
Include the inequality test in the index:
v = a(a>3)
Source: https://habr.com/ru/post/1791898/More articles:How to set STATUS CODE to 200 with SoapFaultException? - silverlightWindows Phone 7 Application for Windows Mobile 6.5 - .netAre member functions the same as passing a reference to a global function? - c ++Django Form Not Displaying - djangoСоздание диаграммы вариантов использования для автоматизированной системы - umlJUnit check for this particular method - javaExtraction of a subset of a matrix in MATLAB - matlabNumber of ways to populate a binary tree to make it bst - binary-treeAny way to disable the tooltip (title attribute) when right-clicking (contextmenu)? - javascriptУстановленный пипс, но не может найти, где virtualenvwrapper_bashrc - pythonAll Articles