A basic matlab problem
古いコメントを表示
Hello all,
If I want to create a matrix of for example 9.5 with a specific size i.e. [9.5 9.5 .... 9.5], what should I do?
2 件のコメント
Ashok jat
2019 年 5 月 18 日
x=ones(1,8);
y=9.5*x
Walter Roberson
2019 年 5 月 19 日
This is the same as Fangjun Jiang's solution.
採用された回答
その他の回答 (4 件)
Bao Le
2019 年 12 月 5 日
0 投票
x = 9.5.*ones(2,5)
1 件のコメント
Walter Roberson
2019 年 12 月 5 日
This is the same as earlier solutions.
Alejandro Ayala
2019 年 12 月 5 日
0 投票
x = 9.5.*ones(2,5)
1 件のコメント
Walter Roberson
2019 年 12 月 5 日
This is the same as earlier solutions.
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!