How to create an infinite matrix?
24 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sultan Aljohani
el 15 de Feb. de 2020
Comentada: Sultan Aljohani
el 15 de Feb. de 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 comentarios
Respuesta aceptada
Walter Roberson
el 15 de Feb. de 2020
You cannot. The maximum array size in MATLAB is 2^48 - 1.
2 comentarios
Walter Roberson
el 15 de Feb. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Operators and Elementary Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!