how to represent approximate equal symbol

i want to represent approximate symbol. for example: 'while' (condition) a - approximatly equal - 5000

Answers (1)

A suggestion :
while a > 4090 && a <5010
% your code
end
In fact "approximately" is something relative and depends on the user/programmer and his application.

Products

Release

R2015a

Tags

Asked:

on 4 Oct 2019

Edited:

on 4 Oct 2019

Community Treasure Hunt

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

Start Hunting!