- write a u function.
 - write a function for each of your formulas. Each one can have a for loop over its inputs, and if/elseif to calculate the outputs.
 - Now calculate each over -25:25
 - then calculate the convolution
 
Convolution without using conv
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Deniz Bozdogan
 am 24 Feb. 2021
  
    
    
    
    
    Kommentiert: Walter Roberson
      
      
 am 24 Feb. 2021
            I want to find the convolution between x1 and h1 (and for all the other pairs). Both functions from the screenshots are defined for n=[-25:25], all i need is to find how to calculate their convolutions.
0 Kommentare
Akzeptierte Antwort
  Walter Roberson
      
      
 am 24 Feb. 2021
        Get your program working first before you worry about optimization.
2 Kommentare
  Walter Roberson
      
      
 am 24 Feb. 2021
				It shows you the summation you need to use. The only trick is in knowing to clamp the mininum and maximum limits to avoid going out of bounds if you are near an edge.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!