Mostrar comentarios más antiguos
I have
function fps = ktsTOfps(kts)
%fps converts speed given in units of knots to speed in units of feet per
%second
% input variable: kts
% output variable: fps
% calling sequence: fps = ktsTOfps(kts)
% calculating fps
fps=kts*1.687809857;
kts=400;
fps = ktsTOfps(kts)
I keep getting the error "Index exceeds matrix dimensions." I don't really understand why this is popping up or where I need to go from here?
2 comentarios
Star Strider
el 17 de Nov. de 2015
One knot is 1.150779448023543 U.S. statute miles, or 6076.115485564304 U.S. feet, or more properly, 1.852 kilometers.
Rena Berman
el 12 de En. de 2017
(Answers Dev) Restored question.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!