From: Wendy on 26 Mar 2010 05:56 Hi, I have a 140*11 cell. The first 4 raws of cell is as following, LR = 'TNFSF9' '4-1BB' '' '' '' 'INHA' 'ACVR1' 'ACVR1B' 'ACVR2' 'ACVR2B' 'INHBA' 'ACVR2' 'ACVR1B' 'ACVR3' 'ACVR2B' 'INHBB' 'ACVR3' 'ACVR1B' 'ACVR4' 'ACVR2B' Now, I want to erase the LR(1,2), and get LR = 'TNFSF9' " '' '' '' 'INHA' 'ACVR1' 'ACVR1B' 'ACVR2' 'ACVR2B' 'INHBA' 'ACVR2' 'ACVR1B' 'ACVR3' 'ACVR2B' 'INHBB' 'ACVR3' 'ACVR1B' 'ACVR4' 'ACVR2B' or change 4-1BB to something NaN that I can identified. I have tried LR(1,2)={}; LR(1,2)=[]; LR(1,2)=nan; LR(1,2)='NaN'. None of them worked. Thank you. Wendy
From: us on 26 Mar 2010 06:06 "Wendy " <wlq121(a)gmail.com> wrote in message <hoi0bi$r4n$1(a)fred.mathworks.com>... > Hi, > > I have a 140*11 cell. The first 4 raws of cell is as following, > > LR = > 'TNFSF9' '4-1BB' '' '' '' > 'INHA' 'ACVR1' 'ACVR1B' 'ACVR2' 'ACVR2B' > 'INHBA' 'ACVR2' 'ACVR1B' 'ACVR3' 'ACVR2B' > 'INHBB' 'ACVR3' 'ACVR1B' 'ACVR4' 'ACVR2B' > > Now, I want to erase the LR(1,2), and get > LR = > 'TNFSF9' " '' '' '' > 'INHA' 'ACVR1' 'ACVR1B' 'ACVR2' 'ACVR2B' > 'INHBA' 'ACVR2' 'ACVR1B' 'ACVR3' 'ACVR2B' > 'INHBB' 'ACVR3' 'ACVR1B' 'ACVR4' 'ACVR2B' > > or change 4-1BB to something NaN that I can identified. I have tried > LR(1,2)={}; LR(1,2)=[]; LR(1,2)=nan; LR(1,2)='NaN'. None of them worked. > > Thank you. > Wendy one of the solutions LR{1,2}=''; % -or- LR(1,2)={''}; us
From: Wendy on 26 Mar 2010 06:22 Thank you, us. If I erased the 2nd element on the 2nd row, 'ACVR1B'. Is there a way that I can shift the position of the other two element behind it, and got a cell like, LR = 'TNFSF9' '4-1BB' '' '' '' 'INHA' 'ACVR1' 'ACVR2' 'ACVR2B' 'INHBA' 'ACVR2' 'ACVR1B' 'ACVR3' 'ACVR2B' 'INHBB' 'ACVR3' 'ACVR1B' 'ACVR4' 'ACVR2B' Thank you. Wendy "us " <us(a)neurol.unizh.ch> wrote in message <hoi0ub$6sn$1(a)fred.mathworks.com>... > "Wendy " <wlq121(a)gmail.com> wrote in message <hoi0bi$r4n$1(a)fred.mathworks.com>... > > Hi, > > > > I have a 140*11 cell. The first 4 raws of cell is as following, > > > > LR = > > 'TNFSF9' '4-1BB' '' '' '' > > 'INHA' 'ACVR1' 'ACVR1B' 'ACVR2' 'ACVR2B' > > 'INHBA' 'ACVR2' 'ACVR1B' 'ACVR3' 'ACVR2B' > > 'INHBB' 'ACVR3' 'ACVR1B' 'ACVR4' 'ACVR2B' > > > > Now, I want to erase the LR(1,2), and get > > LR = > > 'TNFSF9' " '' '' '' > > 'INHA' 'ACVR1' 'ACVR1B' 'ACVR2' 'ACVR2B' > > 'INHBA' 'ACVR2' 'ACVR1B' 'ACVR3' 'ACVR2B' > > 'INHBB' 'ACVR3' 'ACVR1B' 'ACVR4' 'ACVR2B' > > > > or change 4-1BB to something NaN that I can identified. I have tried > > LR(1,2)={}; LR(1,2)=[]; LR(1,2)=nan; LR(1,2)='NaN'. None of them worked. > > > > Thank you. > > Wendy > > one of the solutions > > LR{1,2}=''; > % -or- > LR(1,2)={''}; > > us
|
Pages: 1 Prev: peak detection in a data set Next: DLL in external application |