I want to plot v/vth as a function of y(where y varies from [0 d] and d=6)
2 views (last 30 days)
Show older comments
DEEPAK KARARWAL
on 15 Jul 2022
Commented: DEEPAK KARARWAL
on 19 Jul 2022
![](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 Comments
Accepted Answer
Alan Stevens
on 17 Jul 2022
Edited: Alan Stevens
on 17 Jul 2022
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.
More Answers (0)
See Also
Categories
Find more on Assumptions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!