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 次查看(过去 30 天)

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by