DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR MATLAB
matlab if statement
if r == c A(r,c) = 2; elseif abs(r-c) ~= 1 A(r,c) = -1; else A(r,c) = 0; end
Source by www.mathworks.com #
PREVIOUS
NEXT
Tagged:
#matlab
#statement
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit