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 Ansicht (letzte 30 Tage)
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

Antworten (1)

nl2605
nl2605 am 12 Mär. 2014
for t = 1 : 100
x(t) = sin(2*pi*7.5*10^5*t);
end

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by