How i can solve this exercise in matlab???To calculate the values of the function on the given segment In N points to equal intervals from each other. Point 7

2 views (last 30 days)

Answers (1)

Image Analyst
Image Analyst on 9 Sep 2020
Try this:
x = linspace(-pi, pi, n);
y = exp(x) .* sin(x) + exp(-x) .* cos(x);

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!