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