How can I multiply strings numbers ?
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I have to calculate huge factorials, and I'm losing precision when my numbers get bigger than the epsilon machine number (around 2^16 in matlab I think). I've been told the only way would be to work with strings but it gets complicated since it's the ASCII codes that are being multiplicated with strings. Any ideas ?
2 个评论
dpb
2013-11-23
Look at John D'Errico's extended precision class on FEX...
There just might be a specific tool for large factorials I didn't search, just recalled John's submission...
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numeric Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!