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

2 vues (au cours des 30 derniers jours)
Yue Han Seow
Yue Han Seow le 14 Mar 2019
Commenté : Yue Han Seow le 15 Mar 2019
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.

Réponses (2)

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

Walter Roberson
Walter Roberson le 14 Mar 2019

Catégories

En savoir plus sur Code Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by