Monday, October 24, 2022

Matlab: append, strcat


>> x='ab';
>> y='cd';
>> p=append(x,y)

p =

'abcd'

>> q=strcat(x,y)

q =

'abcd'

>>

Matlab: string, convertCharsToStrings

>> x='abc'

x =

'abc'

>> y=string(x)

y =

"abc"

>> z=convertCharsToStrings(x)

z =

"abc"

>>