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

  • SEARCH
  • Home
  • 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 6159779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:11:22+00:00 2026-05-23T21:11:22+00:00

I have some vectors of experimental data that I need to massage, for example:

  • 0

I have some vectors of experimental data that I need to massage, for example:

{
 {0, 61237, 131895, 194760, 249935},
 {0, 61939, 133775, 197516, 251018},
 {0, 60919, 131391, 194112, 231930},
 {0, 60735, 131015, 193584, 249607},
 {0, 61919, 133631, 197186, 250526}, 
 {0, 61557, 132847, 196143, 258687},
 {0, 61643, 133011, 196516, 249891},
 {0, 62137, 133947, 197848, 251106}
}

Each vector is the result of one run and consists of five numbers, which are times at which an object passes each of five sensors. Over the measurement interval the object’s speed is constant (the sensor-to-sensor intervals are different because the sensor spacings are not uniform). From one run to the next the sensors’ spacing remains the same, but the object’s speed will vary a bit from one run to the next.

If the sensors were perfect, each vector ought to simply be a scalar multiple of any other vector (in proportion to the ratio of their speeds). But in reality each sensor will have some “jitter” and trigger early or late by some small random amount. I am trying to analyze how good the sensors themselves are, i.e. how much “jitter” is there in the measurements they give me?

So I think I need to do the following. To each vector I must scale it, and add then shift the vector a bit (adding or subtracting a fixed amount to each of its five elements). Then the StandardDeviation of each column will describe the amount of “noise” or “jitter” in that sensor. The amount that each vector is scaled, and the amount each vector is shifted, has to be chosen to minimize the standard deviation of columns.

It seemed to me that Mathematica probably has a good toolkit for getting this done, in fact I thought I might have found the answer with Standardize[] but it seems to be oriented towards processing a list of scalars, not a list of lists like I have (or at least I can’t figure out to apply it to my case here).

So I am looking for some hints toward which library function(s) I might use to solve this problems, or perhaps the hint I might need to cleave the algorithm myself. Perhaps part of my problem is that I can’t figure out where to look – is what I have here is a “signal processing” problem, or a data manipulation or data mining problem, or a minimization problem, or maybe it’s a relatively standard statistical function that I simply haven’t heard of before?

(As a bonus I would like to be able to control the weighting function used to optimize this scaling/shifting; e.g. in my data above I suspect that sensor#5 is having problems so I would like to fit the data to only consider the SDs of sensors 1-4 when doing the scaling/shifting)

  • 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-23T21:11:22+00:00Added an answer on May 23, 2026 at 9:11 pm

    I can’t comment much on your algorithm itself, as data analysis is not my forte. However, from what I understand, you’re trying to characterize the timing variations in each sensor. Since the data from a single sensor is in a single column of your matrix, I’d suggest transposing it and mapping Standardize on to each set of data. In other words,

    dat = (* your data *)
    Standardize /@ Transpose[dat]
    

    To put it back in columnar form, Transpose the result. To exclude you last sensor from this process, simply use Part ([ ]) and Span (;;)

    Standardize /@ Transpose[dat][[ ;; -2 ]]
    

    Or, Most

    Standardize /@ Most[Transpose[dat]]
    

    Thinking about it, I think you’re going to have a hard time separating out the timing jitter from variation in velocity. Can you intentionally vary the velocity?

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

Sidebar

Related Questions

I have a problem were i need to aggregate some vectors in order to
I have some vectors, for example, let´s call them a, b and c. All
I have some large vectors, the data of them are coming from some calculations
I would appreciate some advice related to manipulating data in vectors. I have written
I have some Clojure code that is simulating and then processing numerical data. The
I have some json data [{a:10, b:123,c:4.5},{a:2,b:5,c:33}] and so on that I read into
I have been struggling to think of some decent uses for things like vectors
I have some data structures: all_unordered_m is a big vector containing all the strings
I have a program that draws some vector graphics using System.Drawing and the Graphics
Say you have a simple class with some storage data structure (list, vector, queue,

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.