Statistics
RANK
297,144
of 300,688
REPUTATION
0
CONTRIBUTIONS
1 Question
1 Answer
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 21,039
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 170,148
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
I need to compare fields in two separate structures, and for the identical field indices, change value of another field within one of the structure. Step 1 is comparing the fields. Is there a simple way to compare them?
Okay, this line worked for finding the indices: [ind, ~]= find(ismember({structure1(:).fieldA}', {structure2(:).fieldB}')
8 years ago | 0
| accepted
Question
I need to compare fields in two separate structures, and for the identical field indices, change value of another field within one of the structure. Step 1 is comparing the fields. Is there a simple way to compare them?
I have two structures with multiple fields. I need to compare field A of Structure 1 with field B in structure 2 and find the in...
8 years ago | 1 answer | 0