Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: An array problem

$
0
0
"Roger Stafford" wrote in message <kal6o6$ntk$1@newscl01ah.mathworks.com>...
> "ali kucur" <kobay000@gmail.com> wrote in message <kakvsl$5oj$1@newscl01ah.mathworks.com>...
> > i wonder can you tell me what should it like be ?
> - - - - - - -
> It is up to you to determine what you wish to accomplish, always remembering that you can't put more than one number into a single array position. Tell us what size or sizes the 'd' array is supposed to have and what each position is to contain after your operation is finished.
>
> Roger Stafford

'd' array's size equal to "sutun". for example if sutun=4 then the process must be:

d1=B(1,:);
d2=B(2,:);
d3=B(3,:);
d4=B(4,:);
ans=[d1 d2 d3 d4]

but "sutun" has variable value so i want to make it universal for each "sutun" value. hope i could explain what is the goal, thanks in advance.

Viewing all articles
Browse latest Browse all 19628

Trending Articles