Plot the following function and use subplot to illustrate the plot. y=exp(x)/sqrt(1-x.^2), 0<=x<=1
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!