How to assume an unknown value?

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)

 Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 11 de Dic. de 2020
Editada: KALYAN ACHARJYA el 11 de Dic. de 2020
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

Más respuestas (0)

Categorías

Más información sobre Mathematics en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Preguntada:

el 11 de Dic. de 2020

Comentada:

el 17 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by