how do I trun my math equation into math lab code ?

답변 (1개)

Star Strider
Star Strider 2021년 2월 14일
It would appear that you just did exactly that:
t= (x1-X2)/ sqrt[(s1)^2/N1 +(S2)^2/N2];
The only thing you need to do is to change the square brackets [] to parentheses ():
t= (x1-X2)/ sqrt((s1)^2/N1 +(S2)^2/N2);
If the arguments are vectors, it will also be necessary to use element-wise operations (with the ‘dot operator’) explained in Array vs. Matrix Operations.

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

제품

태그

질문:

2021년 2월 14일

댓글:

2021년 2월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by