How to plot functions
7 ビュー (過去 30 日間)
古いコメントを表示
How to plot (exp(-0.2*x)*sin(x+2)=0.1) and (y=1 + exp(-0.2*x)*sin(x+2)
cant get the graph to show up... need help
0 件のコメント
回答 (2 件)
Matt Fig
2011 年 3 月 30 日
Another way
f = @(x) 1 + exp(-0.2*x).*sin(x+2); % Define the function.
x = -20:.01:20; % Define an x range for the plot;
plot(x,f(x))
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!