Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR MATLAB

scilab plot 2d function

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

//to trace your 2D function use plot2d() like this :
plot2d(x, f(y))
 
PREVIOUS NEXT
Tagged: #scilab #plot #function
ADD COMMENT
Topic
Name
1+4 =