Class project: simple calculator

11 次查看(过去 30 天)
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