"Ziv " <ziv.yekutieli@hotmail.com> wrote in message <hte781$oo5$1@fred.mathworks.com>...
> Hi, if you already took the time to write this code, i'd appreciate the opportunity to learn from you since you seem to know your way around Matlab very well. can you please explain the line:
>
> copyobj([get(gu_ax,'children');[T{:}]'],P)
>
> how does [T{:}]' interperted?
>
> thanks,
> ZiV
typical syntax to turn a CELL array of numbers into a COL vec
t={10,1:5}
[t{:}].'
%{
% ans =
10
1
2
3
4
5
%}
us
> Hi, if you already took the time to write this code, i'd appreciate the opportunity to learn from you since you seem to know your way around Matlab very well. can you please explain the line:
>
> copyobj([get(gu_ax,'children');[T{:}]'],P)
>
> how does [T{:}]' interperted?
>
> thanks,
> ZiV
typical syntax to turn a CELL array of numbers into a COL vec
t={10,1:5}
[t{:}].'
%{
% ans =
10
1
2
3
4
5
%}
us