フィルターのクリア

whats wrong with this code?

1 回表示 (過去 30 日間)
Muazma Ali
Muazma Ali 2021 年 12 月 17 日
回答済み: Muazma Ali 2021 年 12 月 17 日
Hi!
I am wondering what is wrong with the code below:
When my program comes to the execution of this line code , I get the error message as statred below.
(vannaktivitet_kalsiumklorid_losning==vannaktivitet_magnesiumklorid_losning)&&(vannaktivitet_kalsiumklorid_losning==vannaktivitet_ammoniumklorid_losning)
this is the error message I get:
Operands to the || and && operators must be convertible to
logical scalar values.
How am I else suppose to write the code if this is the incorrect way of writing the code?

回答 (1 件)

Muazma Ali
Muazma Ali 2021 年 12 月 17 日
will the code above not execute if vannaktivitet_kalsiumcloride or the other variables are decimal numbers..?

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by