validScan = removeInvalidData(scan)returns
a new lidarScan object with all Inf
and NaN values from the input scan removed.
The corresponding angle readings are also removed.
validScan = removeInvalidData(scan,Name,Value)provides
additional options specified by one or more Name,Value
pairs.
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN, where Name is
the argument name and Value is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and encloseNamein quotes.
Example: ["RangeLimits",[0.05 2]
Range reading limits, specified as a two-element vector,
[minRange maxRange], in meters. All range
readings and corresponding angles outside these range limits are
removed
Data Types: single | double
Angle limits, specified as a two-element vector, [minAngle
maxAngle] in radians. All angles and corresponding range
readings outside these angle limits are removed.
Angles are measured counter-clockwise around the
positivez-axis.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.