Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (2)

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

Walter Roberson
Walter Roberson on 14 Mar 2019

Community Treasure Hunt

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

Start Hunting!