This preview shows page 1. Sign up to view the full content.
Unformatted text preview: % array containing every structure from the original array with a % matching fieldname containing the specified value. % % Note: the specified will only contain scalar numeric values. % function ans = structSearch(S, F ,V) x = 1 y = 1 [r c] = size(S) for x = 1:r for y = 1:c S(x,y).(F) = V end end ans = S...
View Full Document
This note was uploaded on 07/06/2009 for the course CS 1371 taught by Professor Stallworth during the Fall '08 term at Georgia Institute of Technology.
- Fall '08