automatic creating of array
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I would like automatic create a matrix, or array. My program should work like this:
If I insert any number n, then it will create matrix, or array with elements i1;i2;i3;..in with size nx1.
For example: if n=2; then result is [i1;i2],
ans =
i1
i2
if n=4; then result is [i1;i2;i3;i4].
Please can you help me?
Thank you
4 Kommentare
Jan
am 27 Okt. 2011
@vansac: This is a public forum. Please post your questions here and not per email. Please take the time to read my profile.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Number Theory finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!