Info

This question is closed. Reopen it to edit or answer.

C TO STATEFLOW HELP

1 view (last 30 days)
RuiQi
RuiQi on 4 Jan 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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 !!!!!!

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!