Jan 18, 2012

How to Convolve a Function in MATLAB

,
MATLAB is a programming language which allows developers to analyze and visualize mathematical data. MATLAB lets developers perform a series of operations such as, for example, convolution. Convolution, in algebra, is an operation that creates a function by combining two other mathematical functions. You can convolve functions in MATLAB by using a specific command.


Instructions

    • 1
      Load a text editor such as, for example, Notepad and open the source code of your MATLAB application.
    • 2
      Type the following code snippet into the file:
      conv(a,b)
      Replace "a" and "b" with the names of the vectors representing the two functions you want to convolve.
    • 3
      Click on "File" and select "Save."


0 commentaires to “How to Convolve a Function in MATLAB”

Post a Comment

 

HowToYo Copyright © 2011 | Template design by O Pregador | Powered by Blogger Templates