gistlib
main.ma = 4; b = 17.2; result = a * exp(b); 38 chars4 lines
a = 4; b = 17.2; result = a * exp(b);
This code snippet in MATLAB will create two variables, a and b, with values 4 and 17.2 respectively. Then, it calculates ae^b, which is 4 * e^17.2.
gistlibby LogSnag