does anyone know how to use floating points with an mcode block?

1 回表示 (過去 30 日間)
Sandeep Kumar
Sandeep Kumar 2016 年 8 月 11 日
編集済み: Walter Roberson 2016 年 8 月 11 日
i have my design in which im giving floating point input to the mcode block, the block has
function [Zm] = zone_m(fm_1,m,fs)
p = ((m*fm_1)/fs);
Zm = floor(p);
while im simunlating it, the file is not running?.
%

回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Fourier and Cosine Transforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by