I have a function y where y = 3x+2
I made x as a vector in matlab:
x(i) = 4*i
but when i do a plot, i dont want to plot y against the vector x but against x as an argumetn of the function.
In general if i have any function...how do i plot it against its argument (not the argument as a vector)