help-octave
[Top][All Lists]
Advanced

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

help!!!!


From: 배원민
Subject: help!!!!
Date: Sun, 26 Apr 2015 11:44:52 +0900 (KST)

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

 

data="">

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

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
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??
 

Attachment: ing1.m
Description: Binary data

Attachment: mu_01_DataExtract.dat
Description: Binary data


reply via email to

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