program to get the user to enter the values
조회 수: 2 (최근 30일)
이전 댓글 표시
function y=mx+c
how can i write a program to get the user to enter the values for x and c and display the result for y
댓글 수: 0
채택된 답변
Davide Ferraro
2011년 2월 24일
If you are expecting a command line input you can use the INPUT command:
A quick and nice graphic way is to use the function INPUTDLG:
댓글 수: 2
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!