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 !!!!!!

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 4 de En. de 2015

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by