How can I delete vector from vector in matlab -


this question has answer here:

how can delete vector vector? example:

a=[1,2,3,4,5] 

how can delete b=[2,3,5] above vector be

c=[1,4]. 

i have vector has 100 elements.

c = setdiff(a,b) 

should trick.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -