How to store functions in matrix or some way to define them by iterations?
5 views (last 30 days)
Show older comments
Mariia Gorodetskaia
on 3 Oct 2020
Commented: Mariia Gorodetskaia
on 4 Oct 2020
Don't mind comments. This is code from Maple. Is there any way to do it in matlab?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/370684/image.png)
I do it manually like that
u1(x) = ...
u2(x) = ...
...
un(x) = ...
and I'm intrested if there better way to do it.
0 Comments
Accepted Answer
madhan ravi
on 3 Oct 2020
Edited: madhan ravi
on 3 Oct 2020
x = 0 : .01: 1;
u = x.^2 + 6*x - 7;
2 Comments
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!