Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

I would like to synthesize two waveforms that are different in terms of amplitude with each other.

3 vues (au cours des 30 derniers jours)
Dear Sir or Madam,
I would like to synthesize two waveforms that are different in terms of amplitude in MATLAB.
But, I can't do it.
I'm glad if you tell me the way.
Sincerely,
  2 commentaires
Birdman
Birdman le 15 Déc 2017
Modifié(e) : Birdman le 15 Déc 2017
What do you mean by synthesize? Also the waveform is sine or something else?
Atsushi Matsumoto
Atsushi Matsumoto le 22 Déc 2017
Do you want to multiply two wave forms in MATLAB not in Simulink?
日本語で質問しても大丈夫ですよ。
&nbsp
How about this
t = 0:1/44100:0.04;
wave1 = sin(2*pi*1500*t);
wave2 = 0.5*square(2*pi*100*t)+0.5;
synthWave = wave1.*wave2;
subplot(3,1,1)
plot(t,wave1)
subplot(3,1,2)
plot(t,wave2)
subplot(3,1,3)
plot(t,synthWave)
Atsushi

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!