Prev: system of pde
Next: mat to cell but separate cells
From: isabelle robitaille on 15 Mar 2010 09:00 hallo,please i need your help, I want to modify a content of a cell . x='11011011' ( class(x) is cell ) how can I put in every 1 a number 2,so at the end i have x='22022022'
From: Donn Shull on 15 Mar 2010 09:15 "isabelle robitaille" <isabelle.robitaille(a)yahoo.fr> wrote in message <hnlb1g$i0u$1(a)fred.mathworks.com>... > hallo,please i need your help, > I want to modify a content of a cell . > x='11011011' ( class(x) is cell ) > how can I put in every 1 a number 2,so at the end i have > x='22022022' >> x = {'11011011'} x = '11011011' >> x = {strrep(x{1}, '1', '2')} x = '22022022' >> Good Luck, Donn
|
Pages: 1 Prev: system of pde Next: mat to cell but separate cells |