Given a vector of structures defined by the following statements:
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:8| Question number:25.8
All Answers
total answers (1)
>> kit(1).sub
ans =
id: 33
wt: 11.1100
code: 'q'
>> kit(2).lens(1)
ans =
4
>> kit(1).code
Reference to non-existent field 'code'.
>> kit(2).sub.id == kit(1).sub.id
ans =
0
>> strfind(kit(1).name, 's')
ans =
2
need an explanation for this answer? contact us directly to get an explanation for this answer