Plot the following function and use subplot to illustrate the plot. y=exp(x)/sqrt(1-x.^2), 0<=x<=1

3 ビュー (過去 30 日間)
Tamara Dunford
Tamara Dunford 2017 年 11 月 28 日
編集済み: Walter Roberson 2017 年 11 月 28 日
Plot the following function and use subplot to illustrate the plot.
y=exp(x)/sqrt(1-x.^2), 0<=x<=1
Here's what I have so far
x=0:0.2:1;
for i=1:numel(x)
y(i)=exp(x(i))/sqrt(1-x(i).^2)
end
subplot(2,2,1)
plot(x,y),xlabel('x'),ylabel('y'),axis([0 1 0 7])

回答 (0 件)

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by