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

조회 수: 1 (최근 30일)
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
John D'Errico
John D'Errico 2018년 1월 15일
편집: John D'Errico 2018년 1월 15일
Huh? A totally confusing question, and not even about MATLAB at all. Likely that means Ricardo is also totally confused, as the inability to pose a clear, cogent question tends to imply the person asking really does not understand the problem.
Sometimes the issue is the asker does understand what they are asking, but for some reason they have tried to make the question too abstract, but just made it confusing as hell.
If you have assigned probabilities to each vector that imply the probability a result originated from that vector, then you choose the one with maximum probability. WTP?
help max
Walter Roberson
Walter Roberson 2018년 1월 15일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Numbers and Precision에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by