- #1
sara_87
- 763
- 0
Homework Statement
I have a function y where y = 3x+2
I made x as a vector in matlab:
for i=1:10
x(i) = 4*i
but when i do a plot, i don't 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)
Thank you