I want to plot v/vth as a function of y(where y varies from [0 d] and d=6)
2 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1066790/image.png)
I want this equation to plot as V/vth (vth=2.5 and V varies as [0 5]) as a function of y( y varies [0 6] where d=6)
phim should be 90 degree, kindely help me to generate a code I have used syms command but i am getting a lot of error.
0 个评论
采纳的回答
Alan Stevens
2022-7-17
编辑:Alan Stevens
2022-7-17
The integral is infinite if you let phi go all the way to phim. If you restrict the upper limit of the integral to be less than phim you can get a finite result, but the value of the resulting integral will depend on the value you set for the upper limit.
Also, if you use a value of zero for y, you will get a divide by zero error, so you should probably start y at a small, but non-zero, value.
You can do the above numerically - you don't need symbolics.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!