I have the following code:
for x = 1:0.01:1.5 z = g(x,rpf);end
but when I run this (assume my function is correct), I only get that z is equivalent to the last data point. How can I store x and z in a matrix and then plot them?
for loopfunction
for x = 1:0.01:1.5 z = g(x,rpf);end
Best Answer