Perform the following calculations in Matlab

2 views (last 30 days)
a) 132 + 45 b) 12.45/17.56 c) sin (π/6)

Answers (1)

Image Analyst
Image Analyst on 20 Mar 2021
Simply type them into the command window. Put a variable first if you want to save the result into a variable:
>> result1 = 132 + 45
>> result2 = 12.45 / 17.56
>> result3 = sin(pi / 6)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!