From: Andy on 26 Jul 2010 10:00 You still have not done what was asked. What should the output look like for that input?
From: Oleg Komarov on 26 Jul 2010 10:20 "Roshini Johri" <roshini20(a)gmail.com> wrote in message > > > i cant use rand as my values are fixed... its the data obtained from the xyz coordinates of a robotic arm. i have to use the data make a 3d matrix of that space where i have to put a 1 in the points the trajectory went through. and 0 at the rest so that i can do box counting. > > > > well... show a ...clear... example of your input/output... > > > > us To visualize your data: plot3(In(:,1), In(:,2), In(:,3), '-mo','LineWidth',2,'MarkerFaceColor', [.2 .2 .2]); grid on; then what do you mean by box counting? How large should your bins be? Oleg
From: Walter Roberson on 26 Jul 2010 17:05 Roshini Johri wrote: > hi, > > i need to create a 3d matrix for points like -0.0708718 3.06386 6.19473 > -0.0475281 3.07586 6.21423 > -0.0232222 3.08565 6.23409 > 0.00333004 3.09293 6.25692 > 0.0292223 3.0987 6.2796 > 0.0550647 3.09793 6.30483 > 0.079721 3.09433 6.32766 > 0.101421 3.08415 6.34956 > 0.121546 3.06947 6.37246 > 0.142592 3.05429 6.3944 > > > > within a range of -1 to 9 which may vary for different files. i am not > sure how to represent this. can anyone help me out please. Possibly something like, [ linspace(C1min, C1max, NumEnt) .' ; linspace(C2min, C2max, NumEnt) .' ; linspace(C3min, C3max, NumEnt) .' ] But that would only be a 2D matrix not 3D.
First
|
Prev
|
Pages: 1 2 Prev: How to find the best fit for a data with multivariables Next: bug with MATLAB example avifile |