Can't progress on simulink onramp in MATLAB function block
이전 댓글 표시
I can't type power symbol (^) on onramp in MATLAB function block to type the equation

답변 (1개)
Luca Ferro
2023년 2월 13일
0 개 추천
you can try to either:
- copy paste the ^ symbol from here (an annoying procedure)
- use the function power (A,B). Notice that this is an element wise power and not a regular power. In your case it shouldn't matter i think. (an unefficient method)
0.5*Cp*rho*A*power(2*g*abs(deltaH),3/2)
- copy paste this line of code (a temporary fix)
power= 0.5*Cp*rho*A*(2*g*abs(deltaH))^(3/2)
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!