how to get float answer and not a Fraction ?
조회 수: 53 (최근 30일)
이전 댓글 표시
lets say this is my code ,(simple code ) :
for some reason my answer is fraction and float point anser ,how to fix the format ?
clc;
clear all;
syms R2
R1=200
eqn=(12*R2)/(R2+R1)==5
sol_R2=simplify(solve(eqn,R2))
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!