How to produce a plot on the x and y axes

1 view (last 30 days)
Emilia
Emilia on 25 Jun 2021
Answered: KSSV on 25 Jun 2021
Hello friends,
I want to produce a plot, there is a problem in line 5.
Thanks for the helpers
clc;
w=8500;
teta = 39.29:51.57;
F=-w/(2*sin(teta));
plot(teta,F)
grid

Accepted Answer

KSSV
KSSV on 25 Jun 2021
w=8500;
teta = 39.29:51.57;
F=-w./(2*sin(teta)); % <-- element by element operation
plot(teta,F)
grid

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!