Answers for "scilab graph function"

1

scilab graph function

x = [-5 : 0.1 : 5];
function y = f(x)
	y = 3 * x^2
endfunction

//to graph your 2D function use plot2d() like this :
plot2d(x, f(y))
Posted by: Guest on June-19-2021

Browse Popular Code Answers by Language