vector=[1 2 5 13 55 23 15],excluded dig=5 then out=[1 2 13 23] ,another example vector=[3 24 7 9 18 55 67 71],excluded dig=7 then out=[3 24 9 18 55]

# MATLAB: Excluded Digits from vector

matchstring

###### Related Question

- Join numbers in vector
- How to randomly change a digit in a string
- Tricky correction of faulty time list
- What toolboxes are accessible within Cody
- What is the fastest and most elegant way to calculate permutations of a vector of numbers
- Having issue after downloading tabular data from web.
- Simple wild card function for ismember?

## Best Answer