photo

Ioannis


Last seen: 23 days ago Active since 2024

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


The output size of the lambert_equation function that follows should be 1x1x3 but it is 1x3x3. Does anyone identify the problem? Thanks, in advance!
% The following syntax is used inside a double-for loop in the main script: [v1_2(i,j,:), v2_prime_2(i,j,:)] = lambert_equati...

9 months ago | 1 answer | 0

1

answer

Question


An error of unable to perform assignment because the size of the left side is 1-by-1-by-3 and the size of the right side is 1-by-3-by-3 when I am using the following:
% Vectors and Matrices Initialization: v1_2=zeros(360,76,3); % each element of the 360x76 matrix is a velocity vector v2_prime...

9 months ago | 1 answer | 0

1

answer

Question


How do I calculate the cross product of two vectors, when the first vector is an element of a N-array and the second vector is an element of an NxD matrix;
% The N-array vector initialization: r1=zeros(i,:); % i: varies from 0 to 360 % The NxD matrix initialization: r2=zeros(i,j...

9 months ago | 1 answer | 0

1

answer