Plot command not working. I've entered the following code and it gives me back this error
Error: Undefined function or variable plot.
Vin = 0:0.5:10
Vr = [0,.2565,.7271,1.212,1.703,2.193,2.685,3.178,3.671,4.166,4.663,5.158,5.653,6.15,6.647,7.143,7.639,8.137,8.633,9.132,9.626]
Vr = Vin - Vd
plot(Vin,Vr)
I tried multiple different ways of trying to plot function and it constantly gives me that error.
Adam
That should be Vd = Vin - Vr but that doesn't really matter as i am getting this error for every plot