What code or command allows me to know from a final value, which vector originated or produced that final value?

2 views (last 30 days)
Ricardo Gutierrez
Ricardo Gutierrez on 15 Jan 2018
Edited: Ricardo Gutierrez on 15 Jan 2018
I have an "rguard" vector composed of 20 sub-vectors, of 10 elements each. Choosing a vector of 10 elements, I pass it to a shift and I get 10 vectors of 10 elements each. Later that vector introduced it to a formula and I get a vectro "SLL1" 10 values, a value per vector of 10 elements, later these values (10) I introduce them to another formula and I get 10 probability values. The question is: What code or command allows me to know from that probability value, which vector originated or produced?
  4 Comments
Walter Roberson
Walter Roberson on 15 Jan 2018
What you are asking for is not generally possible, and when possible is not generally practical (consider for example asking which input combinations "cause" a particular output bit in AES-256 cryptography). It might be possible for some code, but that could only be known by having the code available and tracing the values back through.
Sometimes a workable approach is to use the Symbolic Toolbox to pass a vector or matrix of symbolic values through the code, and then the output would be symbolic formula instead of numeric values; examining the formulas can show you which part of the input go into making up a particular output.

Sign in to comment.

Answers (1)

Ricardo Gutierrez
Ricardo Gutierrez on 15 Jan 2018
I hope to explain myself better. From a probability value obtained, how to know which part of the vector: "vectors1" comes from.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by