フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Write function called huge_add

1 回表示 (過去 30 日間)
RUTARAKA GIDEON
RUTARAKA GIDEON 2018 年 3 月 4 日
閉鎖済み: Walter Roberson 2018 年 3 月 4 日
Write function called huge_add that adds together two positive integers of any length specified as char vectors using decimal notation. The single output argument is the result and it is a char vector as well. The inputs and output must contain digits only; no commas, spaces or any other characters are allowed. If any of these assumptions are violated by the input, the function returns the number -1. Hint: you cannot use any of the built-in numerical data types of MATLAB to do the calculation since the function needs to work for numbers that are larger than what can be represented as a number in MATLAB. 4

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by