MATLAB code that execute exp function without using the exp inbuilt function

2 次查看(过去 30 天)
Hello, I'm new to MATLAB and I have to run an exponential function but without using the exp inbuilt function. As I need to use the HDL coder in the later part, the exp inbuilt function is not allowed. Does anyone knows the code?
This is the equation that has the exp function which I want to replace.
Sum=Sum+sequence(jj)*exp(-2*pi*j*(jj-1)*(k-1)/nfft)
Thank you in advance.

回答(2 个)

Abdulmanan Butt
Abdulmanan Butt 2019-3-14
Hi,
Kindly have a look on this documentation,
Regards,
Abdulmanan Butt

Walter Roberson
Walter Roberson 2019-3-14

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by