Not able to get plot

조회 수: 2 (최근 30일)
Anshuman S
Anshuman S 2019년 7월 7일
답변: infinity 2019년 7월 7일
x = linspace(0, 0.3,0.01);
y = ((384*0.5*((0.15).^(3/2)))./ (x.^(3/2))).^(1/2); %cr
figure
plot(x, y)

채택된 답변

infinity
infinity 2019년 7월 7일
Hello,
You used the linespace function with wrong parameter. Here is instruction of linespace function:
linspace(X1, X2, N) generates N points between X1 and X2.
To get properly result, you change 0.01 by a proper number of intervals from 0 to 0.3.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by