フィルターのクリア

How can I change a simple matlab code to python

2 ビュー (過去 30 日間)
Debelaw Kediro
Debelaw Kediro 2022 年 1 月 20 日
コメント済み: Debelaw Kediro 2022 年 1 月 20 日
n = 1000;
std = 1;
x = std.*randn(n,1);
figure(1)
plot(x,'.')
grid on ;
histogram(x,50)
y = cos(x);
figure(2)
plot(y,'.' );
grid on ;
figure(3)
histogram(y,50)
y_mean = mean(y)
y_variance = var(y)

回答 (1 件)

jessupj
jessupj 2022 年 1 月 20 日
learn python, and probably the numpy library.. this isn't the place for help with that.
  1 件のコメント
Debelaw Kediro
Debelaw Kediro 2022 年 1 月 20 日
I would but its urgent. How about a little help

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

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by