Function not accepting all available x values
1 回表示 (過去 30 日間)
古いコメントを表示
DONGUK KIM
2020 年 4 月 23 日
コメント済み: Sulaymon Eshkabilov
2020 年 4 月 23 日
So I wrote a simple code to get a plot of a function
x = linspace(0,100,101);
y = 4*x.*(x+1) / (4*x.*(x+1) + (sin( 8*sqrt(x+1) )).^2)
plot(x,y);
and for some reason y only comes out as a single value
Is there any reason why this might be happening?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!