필터 지우기
필터 지우기

iam trying to make a function for graph

조회 수: 1 (최근 30일)
GROZO
GROZO 2022년 1월 12일
편집: Cris LaPierre 2022년 1월 12일
function D=MQ(a,b,c,x1,x2,q,w,e,x3)
x=(x1:0.1:x2);
for j=1:length(x)
M(j)=a*x(j)^2+b*x(j)+c;
end
y=(x2:0.1:x3)
for i=1:length(y)
M(i)=q*y(i)^2+w*y(i)+e;
end
figure(1)
fplot(@(x) M(j))
hold on
fplot(@(y) M(i))
hold off
grid on

답변 (1개)

Cris LaPierre
Cris LaPierre 2022년 1월 12일
편집: Cris LaPierre 2022년 1월 12일

카테고리

Help CenterFile Exchange에서 Stress and Strain에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by