Suppoase I have a data set t=1: 100( 1 to 100) and I want to get x=sin(2*pi*7.5*10^5*t); how to do that using for loop

1 回表示 (過去 30 日間)
Chris Martin
Chris Martin 2014 年 3 月 12 日
回答済み: nl2605 2014 年 3 月 12 日
Suppoase I have a data set t=1: 100( 1 to 100) and I want to get x=sin(2*pi*7.5*10^5*t); how to do that using for loop

回答 (1 件)

nl2605
nl2605 2014 年 3 月 12 日
for t = 1 : 100
x(t) = sin(2*pi*7.5*10^5*t);
end

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by