How can I do a summation of a signal.
Mostra commenti meno recenti
if i have a signal y = Acos(wt) and now i want to vary my amplituded and angular frequency. like that- ∑A(i)cos(w(i)t) where i varies from any 1 to 100.
I write the code like this
t = 0:0.01:1;
A(1:length(t)) = 0;
w(1:length(t)) = 0;
for i = 1:length(t) y= A*cos(w*t) end But i get an error... please help
1 Commento
ES
il 11 Ott 2013
What is the errot you get?
Risposta accettata
Più risposte (1)
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!