![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13967516_1540436325446_DEF.jpg)
Payton Brown
Followers: 0 Following: 0
Feeds
提问
Defining a 3d XYZ vector aligned with Z axis and then rotating it along the XY plane by pi/4
x= zeros(1,101); y= zeros(1,101); z= 0:0.01:1; figure(1) plot3(x,y,z,'LineWidth',2, 'Color',[1 0 0]) grid on axis square...
1 year 前 | 1 个回答 | 0
1
个回答提问
Is vectorizing this even possible?
vec3(1) = 1; i = 1; while i<5 i = i+1; vec3(i) = (vec3(i-1)+2)^2; end vec3
4 years 前 | 2 个回答 | 0