- #1
ketanco
- 15
- 0
how do you define x to be from minus pi to plus pi in matlab?
i tried:
x = -pi : piBut when i said plot (x,y)
Matlab says:
"Error using plot
Data must be numeric, datetime, duration or an array convertible to double"
(i already defined y interms of x, that function is ok)
so i culd not define x probably... how to do it?
i tried:
x = -pi : piBut when i said plot (x,y)
Matlab says:
"Error using plot
Data must be numeric, datetime, duration or an array convertible to double"
(i already defined y interms of x, that function is ok)
so i culd not define x probably... how to do it?