From: Abhishek on
Hi
I have a cell array which contains
TL4{:}

ans =

minimum and maximum node voltages at dc solution


ans =

0.0000000e+00 7.6815589e-08


ans =

0.0000000e+00 6.5246487e-15


ans =

0.0000000e+00 1.8003592e-14


ans =

0.0000000e+00 1.8323368e-06


ans =

0.0000000e+00 6.9599281e-15


ans =

0.0000000e+00 7.6770333e-06


ans =

0.0000000e+00 3.7999417e-09


ans =

0.0000000e+00 7.1079141e-14


ans =

0.0000000e+00 5.2369075e-14


ans =

0.0000000e+00 7.3015751e+06


ans =

0.0000000e+00 1.5619871e-05


ans =

0.0000000e+00 1.2091499e-07


ans =

0.0000000e+00 4.5018584e-13


ans =

0.0000000e+00 4.4974368e-13


ans =

0.0000000e+00 4.8300798e-13


ans =

0.0000000e+00 3.7917983e-13


ans =

0.0000000e+00 5.0460874e-05


ans =

0.0000000e+00 2.3434395e-07


ans =

0.0000000e+00 3.3750811e-12


ans =

0.0000000e+00 3.3730880e-12


ans =

0.0000000e+00 4.1776544e-12


ans =

0.0000000e+00 2.8289693e-12


ans =

0.0000000e+00 1.4258217e-05


ans =

0.0000000e+00 2.0900821e-08


ans =

0.0000000e+00 1.8783422e-13


ans =

0.0000000e+00 6.2512106e-13


ans =

0.0000000e+00 2.2104114e-12


ans =

0.0000000e+00 8.2312301e-22


ans =

0.0000000e+00 4.6219690e-05


ans =

0.0000000e+00 6.6729607e-08


ans =

0.0000000e+00 4.9388951e-12


ans =

0.0000000e+00 1.8783414e-12


ans =

0.0000000e+00 2.2819627e-11


ans =

0.0000000e+00 6.3216197e-21


ans =

0.0000000e+00 5.0660537e-06


ans =

0.0000000e+00 5.5570657e-09


ans =

0.0000000e+00 8.6950745e-14


ans =

0.0000000e+00 7.7371414e-14


ans =

0.0000000e+00 9.7618073e-13


ans =

0.0000000e+00 1.0116116e-13


ans =

0.0000000e+00 4.8028612e-06


ans =

0.0000000e+00 1.0548655e-08


ans =

0.0000000e+00 1.0817666e-13


ans =

0.0000000e+00 9.8727582e-14


ans =

0.0000000e+00 5.5658920e-13


ans =

0.0000000e+00 2.7315791e-13

>> i want only the second part in each cell i.e. 7.6815589e-08,6.5246487e-15 etc
>>give me some solution;;
From: Walter Roberson on
Abhishek wrote:
> Hi I have a cell array which contains
> TL4{:}
>
> ans =
>
> minimum and maximum node voltages at dc solution
>
>
> ans =
>
> 0.0000000e+00 7.6815589e-08
>
>
> ans =
>
> 0.0000000e+00 6.5246487e-15

>>> i want only the second part in each cell i.e.
>>> 7.6815589e-08,6.5246487e-15 etc
>>> give me some solution;;

subsref(vertcat(TL4{2:end}),struct('type','()','subs',{{':',2:size(TL4,1)}}))

Not something I would use myself ;=)
From: riya on
Walter Roberson <roberson(a)hushmail.com> wrote in message <q7a2o.27144$xZ2.12960(a)newsfe07.iad>...
> Abhishek wrote:
> > Hi I have a cell array which contains
> > TL4{:}
> >
> > ans =
> >
> > minimum and maximum node voltages at dc solution
> >
> >
> > ans =
> >
> > 0.0000000e+00 7.6815589e-08
> >
> >
> > ans =
> >
> > 0.0000000e+00 6.5246487e-15
>
> >>> i want only the second part in each cell i.e.
> >>> 7.6815589e-08,6.5246487e-15 etc
> >>> give me some solution;;
>
> subsref(vertcat(TL4{2:end}),struct('type','()','subs',{{':',2:size(TL4,1)}}))
>
> Not something I would use myself ;=)
>i have run your code like
>TL4=subsref(vertcat(TL4{2:end}),struct('type','()','subs',{{':',2:size(TL4,1)}}));
which gives me
TL4 =

Empty string: 46-by-0
so not working
From: Abhishek on
"riya " <sharma.riya921(a)gmail.com> wrote in message <i2bbeg$7sk$1(a)fred.mathworks.com>...
> Walter Roberson <roberson(a)hushmail.com> wrote in message <q7a2o.27144$xZ2.12960(a)newsfe07.iad>...
> > Abhishek wrote:
> > > Hi I have a cell array which contains
> > > TL4{:}
> > >
> > > ans =
> > >
> > > minimum and maximum node voltages at dc solution
> > >
> > >
> > > ans =
> > >
> > > 0.0000000e+00 7.6815589e-08
> > >
> > >
> > > ans =
> > >
> > > 0.0000000e+00 6.5246487e-15
> >
> > >>> i want only the second part in each cell i.e.
> > >>> 7.6815589e-08,6.5246487e-15 etc
> > >>> give me some solution;;
> >
> > subsref(vertcat(TL4{2:end}),struct('type','()','subs',{{':',2:size(TL4,1)}}))
> >
> > Not something I would use myself ;=)
> >i have run your code like
> >TL4=subsref(vertcat(TL4{2:end}),struct('type','()','subs',{{':',2:size(TL4,1)}}));
> which gives me
> TL4 =
>
> Empty string: 46-by-0
> so not working
>riya
>why are you running the code?
okies if you want you can?
ya
the code is not working......
From: Walter Roberson on
riya wrote:
> Walter Roberson <roberson(a)hushmail.com> wrote in message
> <q7a2o.27144$xZ2.12960(a)newsfe07.iad>...
>> Abhishek wrote:
>> > Hi I have a cell array which contains
>> > TL4{:}
>> > > ans =
>> > > minimum and maximum node voltages at dc solution
>> > > > ans =
>> > > 0.0000000e+00 7.6815589e-08
>> > > > ans =
>> > > 0.0000000e+00 6.5246487e-15
>>
>> >>> i want only the second part in each cell i.e. >>>
>> 7.6815589e-08,6.5246487e-15 etc
>> >>> give me some solution;;
>>
>> subsref(vertcat(TL4{2:end}),struct('type','()','subs',{{':',2:size(TL4,1)}}))
>>
>>
>> Not something I would use myself ;=)
>> i have run your code like
>> TL4=subsref(vertcat(TL4{2:end}),struct('type','()','subs',{{':',2:size(TL4,1)}}));
>>
> which gives me TL4 =
>
> Empty string: 46-by-0
> so not working

Sorry, sleepy here.

subsref(vertcat(TL4{2:end}),struct('type','()','subs',{{':',2}}))