Any suggestions for this code?
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm trying to prompt the user for coordinates in the following matter, but it is not working. Any advice would be great. Thank you all for your time in advance.
[x1, y1] = input('Please enter the first coordinates in this form [# #]: ');
[x2, y2] = input('Please enter the second coordinates in this form [# #]: ');
[x3, y3] = input('Please enter the third coordinates in this form [# #]: ');
댓글 수: 0
채택된 답변
pfb
2015년 4월 20일
tmp = input('Please enter the first coordinates in this form [# #]: ');
x1=tmp(1);
y1=tmp(2);
and so on...
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!