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
Show older comments
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
Answers (1)
nl2605
on 12 Mar 2014
0 votes
for t = 1 : 100
x(t) = sin(2*pi*7.5*10^5*t);
end
Categories
Find more on Electrical Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!