How can I correctly use the parenthesis and write equations
조회 수: 26 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/473863/image.png)
I would like to calculate P_d by the equation above and I wrote that equation in Matlab. I wrote two equations in matlab, but none of them give the correct answer. I beg your corrections on the equations written in Matlab.
Best regards!
댓글 수: 1
답변 (1개)
dpb
2020년 12월 29일
Pd=Pc*((1+(k-1)/2*ac^2*Vpr^2)^(k/(K-1))-1);
Which inputs might be vectors, if any, would determine where and if need dot operators.
Work from inside out...
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!