Azzera filtri
Azzera filtri

Deal with Large numbers

2 visualizzazioni (ultimi 30 giorni)
Tasnim Nazzal
Tasnim Nazzal il 24 Mar 2021
Risposto: Animesh Gupta il 10 Ott 2022
How can I deal with large numbers in simulink. I tried to use vpi tool in an m file script inside the simulink but it doesnt work. for example how can I do 2^64 in simulink?

Risposte (1)

Animesh Gupta
Animesh Gupta il 10 Ott 2022
Hello,
It is my understanding that you want to perform large number arithmetic in simulink.
There are several tools available to perform that. One of them is using symbolic toolbox.
sym(2)^100
ans = 
1267650600228229401496703205376
You can also refer the following MATLAB Answers link for other toolboxes - https://www.mathworks.com/matlabcentral/answers/489112-how-to-use-large-numbers
I hope it helps.

Categorie

Scopri di più su Function Creation in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by