I have been wracking my brain trying to figure this out. I have a 1xn vector I have gained through signal processing. I am multiplying it to another 1xn vector with a different scale.(adsbygoogle = window.adsbygoogle || []).push({});

the first vector Xb moves to the next value every 1/1.023e6 seconds

the second vector Xc moves to the next value every 1/1.405e6 seconds.

I am looking for a way that I can transform keep Xb's 1xn dimension, but hold the values over a sample time of 1/1.405e6 seconds. for example the first ten values of:

Xb=[-1 1 -1 -1 -1 -1 1 1 -1 -1]

Xc=[0 1.41373858718699, 0.0732749615049943, -1.40994069977540, -0.146353076113111, 1.40235512765087, 0.219038025739767, -1.39100224880207, -0.291134548504378, 1.37591256176390]

The time scale difference makes it so Xb has the same value for the first 6 values of Xc, but this is not a constant feature when comparing the vectors. Does anybody have a clue how to do this?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Holding a vector value for specific time

Loading...

Similar Threads for Holding vector value |
---|

Mathematica Looping through vectorized functions for a piecewise solution |

MATLAB MATLAB vector multiplication |

**Physics Forums | Science Articles, Homework Help, Discussion**