Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7016527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:47:49+00:00 2026-05-27T22:47:49+00:00

I just need some directions regarding a problem I have, where to look, etc..

  • 0

I just need some directions regarding a problem I have, where to look, etc.. I am using a movement tracking glove for one of my projects, which returns an X, Y and Z values for each finger and for the palm.

What I would like to do is to first create a representation of each finger movements based on these coordinates, , and then attach each of them to the movement of the palm, to have a representation of the hand. This second step will be easy once I manage the first one, but… I don’t manage.

I’m trying to implement it in Java (better analysis possibilities), but can only manage to make a 3D graph with ALL the points, at the same time. And there are around 45,000 of them in each curve, so… Would you have any idea of how to make it more like an animation, as in displaying a point at its XYZ coordinates at a given time t?

The other question is: is matlab actually the best option for this? I see how to make this animation work in Java, but I’ve never used Java for data management, and I doubt it is really good at it.. Is there another software/language that would be good at data management AND animating it? Or should I just use Java to make the animation, and Matlab to do the analysis?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:47:50+00:00Added an answer on May 27, 2026 at 10:47 pm

    You can do the following. Let pos be an Nx3 matrix which contains the x,y,z data of a point, for N time instances. You write a main script which sets up vars etc, and create a loop timer t1 that calls the plotting function “doPlot”. The main script is,

    clear all
    clc
    
    pos=rand(100,3)*10;  %position matrix of random x,y,z coordinates. 100 time instances here
    
    ax=axes;
    set(ax,'NextPlot','replacechildren');
    axis([0 10 0 10 0 10]); %set axis limits- fit to your needs
    
    Dt=0.1; %sampling period in secs
    
    k=1;
    hp=plot3(pos(k,1),pos(k,2),pos(k,3),'o'); %get handle to dot object
    
    t1=timer('TimerFcn','k=doPlot(hp,pos,t1,k)','Period', Dt,'ExecutionMode','fixedRate');
    start(t1);
    

    Next you create the plotting function doPlot,

    function k=doPlot(hp,pos,t1,k)
    
    k=k+1;
    if k<length(pos)
       set(hp,'XData',pos(k,1),'YData',pos(k,2),'ZData',pos(k,3));
       axis([0 10 0 10 0 10]);
    else
        stop(t1)
    end
    

    You will see a point (circle) in 3D randomly moving aroung in space. The animation period is Dt secs (0.1 secs in this case). You must fit it to your needs. This is a basic animation in Matlab. You could do much more. It depends on your needs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im just starting with localization today and need some information. I have a project
Hi I have a problem and I need some direction. I have an old
I just need some clarification on variables A normal variable has 2 parts to
Just need get some vals located in application.ini(main ini) in the Controller plugin I
I need some help with jQuery script again :-) Just trying to play with
I'm just starting out with the whole ajax thing and I need some help.
Sometimes I need to find some strings inside DB usually it is just host-name
Maybe I am just over thinking this and need to write some more prototype
I need to serialize/de-serialize some objects into/from string and transfer them as just opaque
I'm a CSS/JQuery rookie, but have built several things with the basics. Just need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.