How to store functions in matrix or some way to define them by iterations?

3 views (last 30 days)
Don't mind comments. This is code from Maple. Is there any way to do it in matlab?
I do it manually like that
u1(x) = ...
u2(x) = ...
...
un(x) = ...
and I'm intrested if there better way to do it.

Accepted Answer

madhan ravi
madhan ravi on 3 Oct 2020
Edited: madhan ravi on 3 Oct 2020
x = 0 : .01: 1;
u = x.^2 + 6*x - 7;

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by