フィルターのクリア

Help with exponential returning zeroes

4 ビュー (過去 30 日間)
Jesse
Jesse 2014 年 5 月 15 日
コメント済み: Jesse 2014 年 5 月 15 日
Greetings all,
Argh, this answer should be obvious, but for me, or course it's not. Here's what I'm trying to do:
Zval = [0.1:0.1:9];
A = -8.11*Zval;
B = e.^(A)
Zval is fine, A is fine,however, B returns all zeroes, which shouldn't be the case. What am I doing wrong?
Thanks!

採用された回答

Sara
Sara 2014 年 5 月 15 日
  4 件のコメント
Walter Roberson
Walter Roberson 2014 年 5 月 15 日
Give the command
format long g
Jesse
Jesse 2014 年 5 月 15 日
Sarah, yeah you were right - the output went too fast for me and I was under the impression it was all zeros. I'll accept your answer.
Walter, thanks for that info too. I know you've helped me before - one day I'm going to have skills like you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by