octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with erase()


From: Steph Bredenhann
Subject: Re: Help with erase()
Date: Tue, 26 Dec 2017 10:08:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

A better answer, using quotes

clear all

s = erase("this is it",["this";"is"])
double (s)

>> untitled2

s =

    "  it"


ans =

   NaN


On 26/12/2017 07:39, Rik wrote:
Could someone try the following code in Matlab?

s = erase('this is it',['this';'is'])
double (s)

Thanks,
Rik


--
Steph

reply via email to

[Prev in Thread] Current Thread [Next in Thread]