NaNが生成されるのは、なぜでしょうか。

エディタの文で、以下のようなものがあります。
A=1000; %断面積mm^2
lu=3000; %上弦材長さmm
lw=1500*2^0.5; %ウェブ長さmm
lL=1500*2^0.5; %下弦材長さmm
この文を含むエディタを実行すると、
lu=3000,lw=lL=2121.32となるのですが、
A=NaNとなるのはなぜでしょうか。

 Accepted Answer

madhan ravi
madhan ravi on 4 Jan 2019

1 vote

In the last sentence you assign A as NaN , delete that line.

2 Comments

m17td024
m17td024 on 4 Jan 2019
I confirmed it.
Thank you .
madhan ravi
madhan ravi on 4 Jan 2019
Anytime :)

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!