Hi guys, I'm having a bit of difficulty storing the output of the while loop in a vector. Here's my code. For some reason the 'thetak' vector it creates is [0,0,045] when I enter [45,45,45,45]
n=input('Number of Layers?: ');i=0; while i<nthetak(n)=input('Enter Orientation Angle: ');i=i+1; end
Best Answer