필터 지우기
필터 지우기

how do i present the variable W with the 2 digits after the decimal point?

조회 수: 3 (최근 30일)
Idan Nagar
Idan Nagar 2015년 5월 14일
댓글: Walter Roberson 2015년 5월 14일
i=0.15; v=24;
c=25*10^-6;
R=140; L=260*10^-3;
syms W
eqn = i==v/sqrt((R^2)+(W*L-1/W*c)^2);
W = solve(eqn,W);
w= round(W)

답변 (1개)

Purushottama Rao
Purushottama Rao 2015년 5월 14일
편집: Purushottama Rao 2015년 5월 14일
  댓글 수: 5
Walter Roberson
Walter Roberson 2015년 5월 14일
double() the symbolic number to get floating point.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Numbers and Precision에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by