current position:Home>Matlab about signal input and triangular wave square wave
Matlab about signal input and triangular wave square wave
2022-02-04 16:56:22 【CSDN Q & A】
[1] Set a sound signal as input x
,h[n] Set up 4 More than species , Including pulse 、 Quadrangular pulse and triangular pulse ( quadrilateral , The length of the bottom edge of the triangle is 1ms Left or right or 10 Sample left and right ), And draw the waveform , Find out each output y[n] (convolution sum), Draw a picture for comparison and evaluation .And N=10 The moving average of (moving average) comparison .
[2] Listen to every sound above , Then evaluate each quality ( fundamental tone +5 Kind of ).
Take the answer :
Hello , First of all, there must be a signal , I am using matlab The default Hallelujah song
t = 0:1:10;impulse = t==0;% pulse tri = (t<=5).*(1/5*t)+(t>5).*(1/5*(-t+10));% triangle quadr = t>=0;% quadrilateral tri = tri/sum(tri);% Triangle normalization quadr = quadr/sum(quadr);% Tetragonal normalization load handel.maty_1 = conv(y, impulse,'same');% Pulse convolution y_2 = conv(y, tri,'same'); % Triangular convolution y_3 = conv(y, quadr,'same'); % Quadrilateral convolution y_4 = movmean(y,10,'Endpoints','discard');% Moving average % Now play four pieces of audio ( If you don't play, comment out with a percent sign first , Remove the percent sign when playing )sound(y_1,Fs); sound(y_2,Fs);sound(y_3,Fs);sound(y_4,Fs);
Helpful, hope to adopt , Thank you first
copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/02/202202041656190703.html
The sidebar is recommended
- Zhejiang University pat class B 1048 test points 4 and 5 cannot pass, solution
- Enter several student grades at random
- 7-3 simple character transformation (20 points)
- Question about CSS: since I have div nesting, how can I write CSS style
- What does this error message mean
- On the issue of CAS authentication, there is the problem of bill invalidation
- Why should e add 127 to e? Xiaobai said he didn't understand
- How can I get the value behind this k? Wentang college wants to use crawlers to crawl e-books.
- Pyqt5 how to output percentages directly?
- When the Android 10 app version is downgraded, you are prompted that the application is not installed. How to solve it?
guess what you like
-
Different expressions of month, month and day have been output. How to judge the season according to the output month
-
Canine distemper sports I Oh, afraid qwe
-
Short answer: SQL statements complete the following queries
-
What are the input formats of MySQL binlog?
-
What is the business logic of wordcount?
-
What is the function of terraform?
-
What are the four features of MySQL's InnoDB engine?
-
What are the instructions for configuring the task steps of DTS self built MySQL synchronization to RDS MySQL?
-
What is the process of installing other dependencies in ganglia?
-
What are the advantages and disadvantages of MySQL index?
Random recommended
- What are the instructions for configuring the processing mode of the target existing tables that DTS self built MySQL synchronizes to RDS MySQL?
- What is the core program running mechanism of MapReduce?
- What is the core competence of Alibaba cloud log service?
- What are the types of MySQL indexes?
- What is the description of the configuration of synchronization objects from DTS self built Mysql to RDS MySQL?
- What is the function of clusteringkey?
- What should I pay attention to when starting and using ECS?
- What is the description of the configuration of the mapping name change of DTS self built MySQL synchronized to RDS MySQL?
- What are the principles for creating indexes in MySQL?
- What is the description of the configuration of filtering data to be synchronized from DTS self built Mysql to RDS MySQL?
- What is the basic logic of MapReduce client for map phase parallelism planning?
- What is the description of the configuration of SQL operations for DTS self built MySQL synchronization to RDS MySQL synchronization?
- What is the leftmost and most prefixed principle of MySQL?
- What is the description of setting alarm configuration for DTS self built MySQL synchronization to RDS MySQL?
- What does MySQL overlay index and back table refer to?
- What are the instructions for configuring the case policy of the object name of the target database synchronized from DTS self built Mysql to RDS MySQL?
- How to pull data from maxcompute and upload results?
- How to use serverless log to realize alarm?
- What is optimizing bitmap indexing?
- Source table DMS_ ONLINE_ What is the description of whether to copy the temporary table to the target library during DDL?
- Will MySQL's non clustered indexes be queried back to the table?
- How to schedule periodically in maxcompute?
- What are the instructions for configuring the retry time after DTS self built MySQL is synchronized to RDS MySQL's source database and target database cannot be connected?
- Why should MySQL pay attention to the order in the composite index?
- What is an object storage OSS?
- What are the characteristics of the seamless connection between cloud storage and maxcomputesql?
- What is the definition of MySQL database transaction?
- What are the steps of hologres real-time writing and point query?
- What is machine learning Pai?
- What source databases are supported for synchronization between RDS and MySQL instances?
- What target databases are supported for synchronization between RDS and MySQL instances?
- What are the prerequisites for supporting synchronization between RDS and MySQL instances?
- What are the three implications of MapReduce?
- What are the data formats supported by maxcomputesql
- What is hologres' view of the execution plan?
- What are the source database restrictions for synchronization between RDS and MySQL instances?
- What is the difference between physical server and cloud server?
- What is the origin of MapReduce?
- What is the description of the special case of synchronization between RDS and MySQL instances?
- What is the synchronization architecture supported for synchronization between RDS and MySQL instances?