what is the output of the matlab function=power(2,3)? in matlab

The output of the matlab function power(2,3) can be obtained using the command window or script as follows:

main.m
>> power(2,3)
ans =
     8
27 chars
4 lines

This command returns the result of the 2^3 operation, which is equal to 8.

related categories

gistlibby LogSnag