% -- To get the frequency in different Voltages -- clc clear all; V = 8; for i = 1 : 40 freq = func (V); f(i) = freq; V = 8 + i * 0.1; end plot(f);