MATLAB script to simulate the sound of dialling any telephone number

조회 수: 1 (최근 30일)
Yahya kiyani
Yahya kiyani 2020년 1월 10일
편집: Yahya kiyani 2020년 1월 11일
I want to write a MATLAB script to simulate the sound of dialling any telephone number, say, for example, 051-111-532-532. every number is a sum of two sine waves like
1 = 697 Hz + 1,209 Hz
2 = 697 Hz + 1,336 Hz
3 = 697 Hz + 1,477 Hz etc
i also want to Save that sound as a wave file.
help please!

답변 (1개)

Steven Lord
Steven Lord 2020년 1월 10일
If you just need a function that can play that sound, Cleve Moler's Numerical Computing with MATLAB toolbox (available from the book's page on mathworks.com) contains a function touchtone to do that.
If you need to write it yourself (because it's part or all of a homework assignment, for example) show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.

카테고리

Help CenterFile Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by