Function saying too many outputs
3 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
Cris LaPierre
2021 年 1 月 31 日
編集済み: Cris LaPierre
2021 年 1 月 31 日
Notice the orange highlight and red underline in your function? Hover over that to see what the error message is.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!