Invalid array indexing. Column 77. Help
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
quiver3(position(1), position(2), position(3), normalAcceleration * cross(velocity, acceleration)(1), normalAcceleration * cross(velocity, acceleration)(2), normalAcceleration * cross(velocity, acceleration)(3), 'g', 'LineWidth', 1.5);
Error: File: plotIntersection.m Line: 40 Column: 77
Invalid array indexing.
I don't know how to fix it. Help me, pls.
0 Kommentare
Antworten (1)
VBBV
am 26 Mai 2023
delete the (1), (2) & (3) after cross function and place it inside as shown
quiver3(position(1), position(2), position(3), ...
normalAcceleration * cross(velocity(1), acceleration(1)), normalAcceleration * cross(velocity(2), acceleration(2)),...
normalAcceleration * cross(velocity(3), acceleration(3)), 'g', 'LineWidth', 1.5);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!