C TO STATEFLOW HELP

function [f, a] = fcn(y) %#codegen
if y<1e-4
y=1e-4;
end
if y<1.5
f=500*(1.5-y)
a=sqrt(1.5^3/y);
else
f=0;
a=1.5;
end
HOW DO I MODEL THIS IN STATEFLOW ? I AM NOT GETTING THE SAME GRAPH HELP HELP PLEASE !!!!!!

回答 (0 件)

この質問は閉じられています。

質問済み:

2015 年 1 月 4 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by