Filter löschen
Filter löschen

How to produce a plot on the x and y axes

1 Ansicht (letzte 30 Tage)
Emilia
Emilia am 25 Jun. 2021
Beantwortet: KSSV am 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by