how to generate data from model
3 ビュー (過去 30 日間)
古いコメントを表示
I have to genarate x data which follows U(0,4pie) distribution how can i generate it ?
and how to generate data for y which follows U(0,10)
0 件のコメント
回答 (1 件)
Sujay C Sharma
2020 年 6 月 15 日
Hi,
You can use the random function with additional parameters specifying the distribution and its parameters along with the size of the data to be generated. Here is an example of how you can create a 2 X 3 matrix which follows U(0,4*pi):
X = random('Uniform',0,4*pi,2,3)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で CubeSat and Satellites についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!