Why does this function handle not work?

I don't understand why this code doesn't work. Does someone see it?
fun = (@t) A0.*(k./(kaccent+k)).*(1-((exp(1)).^(-((k+kaccent).*t))))

 Accepted Answer

fun = @(t) A0.*(k./(kaccent+k)).*(1-((exp(1)).^(-((k+kaccent).*t))));

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!