How to create an infinite matrix?
23 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sultan Aljohani
il 15 Feb 2020
Commentato: Sultan Aljohani
il 15 Feb 2020
I am having trubles of how to approach this " building an infinit matrix " with the final form of the matrix as:
A=[a0 a1 a2 a3 a4 ......]. the number after the letter is just an index.
and thank you
0 Commenti
Risposta accettata
Walter Roberson
il 15 Feb 2020
You cannot. The maximum array size in MATLAB is 2^48 - 1.
2 Commenti
Walter Roberson
il 15 Feb 2020
If you are working symbolically then
syms('a', [1,N])
When N is a definite nonnegative integer, creates a vector of symbols a1 a2 and so on. You could syms('a0') separately and add it at the beginning.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Operators and Elementary Operations 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!