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

1 Ansicht (letzte 30 Tage)
Sandeep Kumar
Sandeep Kumar am 11 Aug. 2016
Bearbeitet: Walter Roberson am 11 Aug. 2016
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?.
%

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by