Search
 
SCRIPT & CODE EXAMPLE
 

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))
Comment

PREVIOUS NEXT
Code Example
Matlab :: matlab nxm array 
Matlab :: pass variable by reference to function in matlab 
Matlab :: matlab avoid plot to get focus 
Matlab :: matlab pan 
Matlab :: how to multiply matrixes in matlab 
Basic :: how to open d drive using conda prompt 
Basic :: google sheets split column 
Basic :: JWT EM VBNET 
Basic :: floppy disk drive +arduino 
Basic :: visual basic non modal message box 
Elixir :: generate random number elixir 
Elixir :: elixir enum all 
Elixir :: elixir string interpolation 
Scala :: scala concatenate list 
Scala :: scala order list 
Scala :: scala list all permutations 
Actionscript :: cannot connect to rabbitmq localhost inside docker container 
Excel :: excel formula not updating after inserting rows 
Excel :: google sheets apply formula to entire column 
Perl :: append string perl 
Pascal :: subrange variables pascal 
Powershell :: powershell take ownership recursive command 
Gdscript :: godot 
Lisp :: random choice from list of strings in emacs lisp 
Assembly :: cmd to know the version of a programm 
Assembly :: vba check if object exists 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery check if screen size 
Javascript :: Error: Node Sass version 5.0.0 is incompatible with ^4.0.0. 
Javascript :: json object length in javascript 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =