help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help!!!!


From: Doug Stewart
Subject: Re: help!!!!
Date: Sun, 26 Apr 2015 00:06:10 -0400



On Sat, Apr 25, 2015 at 10:44 PM, 배원민 <address@hidden> wrote:

I'm having trouble with merge matrix, and i have no idea how can i do.

 

data="">

count=o; 

for i=[0 22 33 44 45 56 57 58 59 60 61]

count=count+1;  

d_i=data(data(:, 1)==i ,:);


j=1:1:25;
k_j=3*j-2;
y_j=3*j-1;
x_j=3*j;
d_k=[d_i(k_j,2),d_i(y_j,2),d_i(x_j,3)];

x=d_k(1,1);
#####a=(vertcat(x));


a(count)=x;

try these changes. 

a
end 

 

>>

a = 0
a =  0.50260
a =  1.0057
a =  1.5092
a =  2.0129
a =  2.5167
a =  3.0207
a =  3.5249
a =  4.0295
a =  5.0409
a =  4.5345

 

 

but i want get the answer form like this:

a = 0  0.50260  1.0057  1.5092  2.0129  2.5167  3.0207  3.5249  4.0295  5.0409  4.5345

 

Could you give me some solutions??
 


_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave




--
DASCertificate for 206392


reply via email to

[Prev in Thread] Current Thread [Next in Thread]