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となるのはなぜでしょうか。

 採用された回答

madhan ravi
madhan ravi 2019 年 1 月 4 日

1 投票

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

2 件のコメント

m17td024
m17td024 2019 年 1 月 4 日
I confirmed it.
Thank you .
madhan ravi
madhan ravi 2019 年 1 月 4 日
Anytime :)

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!