in matlab create two variables: a = 4 and b = 17.2. use matlab to perform the following set of calculations. ae^b in matlab

main.m
a = 4;
b = 17.2;
result = a * exp(b);
38 chars
4 lines

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.

related categories

gistlibby LogSnag