Community Profile

photo

Payton Brown


Last seen: ungefär ett år ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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...

ungefär ett år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 2 answers | 0

2

answers