フィルターのクリア

Generate a 15-by-2 matrix q with random numbers

1 回表示 (過去 30 日間)
Joe anson
Joe anson 2018 年 10 月 3 日
コメント済み: Joe anson 2018 年 10 月 3 日
What is the solution for these questions
a)Generate a 15-by-2 matrix q with random numbers b) create a 15-by-1 vector of sequential natural numbers from 1to 15 and name it X c)Plot using X and the first column of the matrix q(as Y): d)on the same chat plot using X and the second column of matrix q (as y)
2. Calculate the mean fo reach row of q b) calculate the standard deviation for each column of q
  3 件のコメント
Steven Lord
Steven Lord 2018 年 10 月 3 日
If you show us the code you've written to try to solve these problems and explain where you're having difficulty we may be able to offer some suggestions for how to proceed.
Joe anson
Joe anson 2018 年 10 月 3 日
help

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

回答 (1 件)

Joe anson
Joe anson 2018 年 10 月 3 日
>> q=int8(100*rand(15,2))
q =
15×2 int8 matrix
16 76
97 74
96 39
49 66
80 17
14 71
42 3
92 28
79 5
96 10
66 82
4 69
85 32
93 95
68 3
>> x=int8(15*rand(1,15))
x =
1×15 int8 row vector
7 6 11 12 3 7 7 10 11 11 4 10 10 2 2
how do i calculate std for column of q?????

カテゴリ

Help Center および File ExchangeFeature Detection and Extraction についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by