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!