필터 지우기
필터 지우기

Help me with is problem!!!

조회 수: 2 (최근 30일)
Rodrigo Franco
Rodrigo Franco 2014년 9월 27일
답변: Image Analyst 2014년 9월 27일
Write a program, password.m, that asks for a user’s first name, middle initial, last name, and 10-digit cell phone number. Create a six-character password for the user, using the first letter of the first name, the middle initial, the first two letters of the last name and the last two digits of the telephone number. Report the password to the user. All letters in the password should be lowercase.

채택된 답변

Image Analyst
Image Analyst 2014년 9월 27일
Try this: http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers and look up help on inputdlg(), sprintf(), and helpdlg(). Another hint
firstTwoChars = yourString(1:2);
lastTwoChars = yourString(end-1:end);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by