필터 지우기
필터 지우기

How to implement exponential function and log in HDL Coder?

조회 수: 3 (최근 30일)
sandeep kumar
sandeep kumar 2016년 7월 6일
i am trying to convert this matlab code to HDL verilog { xLow= double(5.0*(tonesLow-halfLow))/double(m); %Lower Sigmoid sLow = 1./(1+exp(-gamma*xLow));
tonesUp = m:1:255; xUp= double(5*(tonesUp-halfUp))/double((255-m)); %Upper Sigmoid sUp = 1./(1+exp(-gamma*xUp)); } i am getting problem in exp, like % function exp is not defined for value of class 'embedded.fi%

답변 (0개)

카테고리

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