add numbers to array

i have values
k = 3
k = 9
k = 16
k = 25
k = 36
k = 54
k = 67
k = 91
but now i want add this numbers to array .how to do it? z=[3 9 16 25 36 54 67 91]

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 11 月 21 日

0 投票

z=[3 9 16 25 36 54 67 91]
Look at
doc array

3 件のコメント

xxx
xxx 2013 年 11 月 21 日
sorry but i dont understand is it a function?
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 11 月 21 日
xxx, take a time to read basics about arrays by typing
doc array
help array
you will get some help about how to work with arrays. You can also look for getting started with matlab in the net, for example look at this link http://www.mathworks.com/videos/getting-started-with-matlab-68985.html.
xxx
xxx 2013 年 11 月 21 日
編集済み: xxx 2013 年 11 月 21 日
i read from internet look at that sources but i have not yet find my question answer(((

サインインしてコメントする。

カテゴリ

タグ

タグが未入力です。

質問済み:

xxx
2013 年 11 月 21 日

回答済み:

2013 年 11 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by