How to store functions in matrix or some way to define them by iterations?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mariia Gorodetskaia
il 3 Ott 2020
Commentato: Mariia Gorodetskaia
il 4 Ott 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 Commenti
Risposta accettata
madhan ravi
il 3 Ott 2020
Modificato: madhan ravi
il 3 Ott 2020
x = 0 : .01: 1;
u = x.^2 + 6*x - 7;
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!