I have the following code:
for ii = 1: length(angles) laminate.ply(ii).angle = angles(ii)/180*pi; laminate.ply(ii).t = thickness(ii); laminate.ply(ii).material = mat_ex3_ge(); end
How to impliment it without for/loop?
vectorization
for ii = 1: length(angles) laminate.ply(ii).angle = angles(ii)/180*pi; laminate.ply(ii).t = thickness(ii); laminate.ply(ii).material = mat_ex3_ge(); end
Best Answer