pls help :How to use solve function ?

I'm new to Matlab and i'm going crazy here trying to solve a complicated equation and I would be grateful for your help:
I have an equation that I need to solve for the value T :
Eg_zero=1.17;
a=4.73*10^(-4);
b=636;
k=8.6*10^(-5);
ni_ge=2.4*10^(13);
Nc_zero=2.8*10^(19);
Nv_zero=1.04*10^(19);
syms T;
num=solve(T^(3/2)*3.277*10^15 * exp(-Eg_zero/(2*k*T) +a*T*(2*k*(T+b))) -ni_ge );
I'm getting the value(num) for T in "sym" and because of it i can't print it to the screen without bracket...
output:
num =
matrix([[478.49806197291962670801556142632]])
pls tell me whats wrong here?

回答 (1 件)

Walter Roberson
Walter Roberson 2014 年 4 月 24 日

0 投票

double(num)

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

質問済み:

2014 年 4 月 24 日

コメント済み:

2014 年 4 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by