I havent started my experiment yet I am trying to do coding in MATLAB so are saying assume the value I dont whether the value will be " ZERO " or " POSITIVE " or " NEGATIVE " in that case what I will do.
Example assume (x = ?)
What shall be my assumption assume (x>0) or (x<0) or (x=0)

 Akzeptierte Antwort

KALYAN ACHARJYA
KALYAN ACHARJYA am 11 Dez. 2020
Bearbeitet: KALYAN ACHARJYA am 11 Dez. 2020

0 Stimmen

If x will be a single value (scalar), it does not need to be defined as initialization. But you can start it as zero, later X can be replaced by reassessment data.
e,g
x=0;
But if x evaluated data will be vector, then proper preallocation is recommended

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by