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일

0 개 추천

B = exp(A)

댓글 수: 4

Sara,
No dice - still all zeros.
Sara
Sara 2014년 5월 15일
편집: Sara 2014년 5월 15일
I've tried and it's not all zeros...see figure
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개)

카테고리

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

태그

질문:

2014년 5월 15일

댓글:

2014년 5월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by