hello,I am trying to save a data string and use it later in the program.IS it possible? Any kind of hint would be appreciated. Thaks in advance

조회 수: 1 (최근 30일)
For example,I have a data v=[1 0 0 0]; I want to save it. And then,if v(i)==0,it changes to a number other than 0/1 and becomes v=[1 3 3 3]; and I want to compare the both data.How can I do that?

채택된 답변

jlt199
jlt199 2016년 6월 22일
Store a copy of v as oldv before you start your analysis, Now you can compare v at the end of you analysis with oldv using something like intersect

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Particle & Nuclear Physics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by