So we can use the ans trick again ?
But we can't use something like :
function text = Replace(text,x,y)
tructruc(text,x,y)
Strange no ?
regexprep doesn't modify directly str
For example :
str='Jean'
regexprep(str,'e','a')
ans='Jaan'
but str is always = 'Jean'
Well this is a function in R2016b.No wonder no others have used it.
Back to basics 8 - Matrix Diagonals
786 Solvers
Getting the row and column location from a matrix
244 Solvers
Create an anti-identity matrix
155 Solvers
Matlab Basics - Assigning Variables
148 Solvers
153 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!