Gistlib Logo

gistlib

write 1+1 in matlab

To write 1+1 in matlab, open matlab on your system and simply type 1+1 and hit Enter. The answer, 2, will be displayed in the command window.

main.m
>> 1+1
ans =
     2
20 chars
4 lines

similar matlab code snippets

how to do function argument evaluation in matlab
add 2 numbers in matlab
for loop to find the sum in matlab
go on in matlab
how to calculate the moving sum of a vector in matlab
sum squares of numbers from 5 to 70 in matlab
construct a matrix with element to be the sum in matlab
make function in matlba in matlab
how to calculate the sum of a matrix in matlab
how to calculate the sum of a vector in matlab

related categories

matlab
code

gistlibby LogSnag