How to produce a plot on the x and y axes

조회 수: 3 (최근 30일)
Emilia
Emilia 2021년 6월 25일
답변: KSSV 2021년 6월 25일
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

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by