Function saying too many outputs
Mostra commenti meno recenti
I am trying to create a function that takes the i, j, and k values of a vector and calculates the magnitude and unit vector. If I attempt to call the function from the command line, I either only end up with the magnitude, or I get an error. Any suggestions on how to make/change the function to return two outputs?

Risposte (1)
Cris LaPierre
il 31 Gen 2021
Modificato: Cris LaPierre
il 31 Gen 2021
0 voti
Notice the orange highlight and red underline in your function? Hover over that to see what the error message is.
Categorie
Scopri di più su Entering Commands in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!