Please can anybody help with codes in matlab that I can use to make a program get outputs over a range of a variable say frequency from say 1 MHz to 1000 MHz at 10MHz at a single click than me repeating it manually for each interval to be computed.
Thanks for your help
In order to do that you need to define a row vector that contains the frequency component from 1 MHz to 1000 MHz.You can define the steps as you wish but increasing the resolution means more time to process.
Code:
%defining the frequency vector
f=[1*10^6:10*10^6:1000*10^6]; %Note that the default step size is 1 and the step size in this vector f is 10*10^6