필터 지우기
필터 지우기

Deal with Large numbers

조회 수: 2 (최근 30일)
Tasnim Nazzal
Tasnim Nazzal 2021년 3월 24일
답변: Animesh Gupta 2022년 10월 10일
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?

답변 (1개)

Animesh Gupta
Animesh Gupta 2022년 10월 10일
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.

카테고리

Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by