Class project: simple calculator

조회 수: 11 (최근 30일)
manuel Dossantos
manuel Dossantos 2012년 5월 10일
댓글: Muhammad Abbas 2018년 10월 16일
CLASS PROJECT: SIMPLE CALCULATOR
I-design a simple calculator with the following options:
1- Rectangular/Polar conversion,
2- Polar/rectangular conversion,
3- Sine,
4- Cosine,
5- Tangent,
6- Arcsine,
7- Arccosine,
8- Arctangent,
9- Quit
II-additional requirements:
1-The program shall be in a repetitive loop with an option to quit, if desired.
2-the student is to develop a flow chart for the operation of the calculator.
3-From the flow chart, the student is to develop a Mat lab program. If programming errors are encountered, it is expected the the student shall debug the program prior to submittal
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 5월 10일
You somehow missed asking a MATLAB question ?
Muhammad Abbas
Muhammad Abbas 2018년 10월 16일
How to make calculator for only +,-,* ?

댓글을 달려면 로그인하십시오.

채택된 답변

Rick Rosson
Rick Rosson 2012년 5월 10일
>> doc input
>> doc fprintf
>> doc while
>> doc cart2pol
>> doc pol2cart
>> doc sin
>> doc cos
>> doc tan
>> doc asin
>> doc acos
>> doc atan
  댓글 수: 3
Daniel Shub
Daniel Shub 2012년 5월 11일
The documentation is pretty comprehensive. I doubt you have really absorbed it all in 18 hours.
Rick Rosson
Rick Rosson 2012년 5월 12일
Please ask a specific question.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by