MATLAB 帮助中心
Show tracking architecture in figure
Since R2021a
show(ta)
show(ta,'Parent',ax)
ah = show(___)
show(ta) shows the tracking architecture ta in a figure.
ta
example
show(ta,'Parent',ax) specifies the axes ax on which to plot the tracking architecture.
ax
ah = show(___) additionally returns the handle of the axes on which the tracking architecture is plotted.
ah
collapse all
trackingArchitecture
Create a tracking architecture.
ta = trackingArchitecture;
Create a trackerGNN object. The tracker takes detection inputs from sensors 1 and 2. Add the tracker to the tracking architecture.
trackerGNN
tracker1 = trackerGNN('TrackerIndex',1); addTracker(ta,tracker1,'SensorIndices',[1,2]);
Create a trackerPHD object. The tracker takes detection inputs from sensors 3 and 4. Add the tracker to the tracking architecture and disable its direct output.
trackerPHD
tracker2 = trackerPHD('TrackerIndex',2,'SensorConfigurations',... {trackingSensorConfiguration(3),trackingSensorConfiguration(4)}); addTracker(ta,tracker2,'ToOutput',false); % Disable output
Create a trackFuser object. The track fuser takes track inputs from the two trackers.
trackFuser
fuser = trackFuser('FuserIndex',3,'SourceConfigurations',... {fuserSourceConfiguration(1),fuserSourceConfiguration(2)}); addTrackFuser(ta,fuser);
Display the summary of the tracking architecture.
sum = summary(ta)
sum=3×4 table System ArchitectureInputs FuserInputs ArchitectureOutput _________________ __________________ __________________ __________________ {'T1:trackerGNN'} {'1 2' } {'Not applicable'} {[ 1]} {'T2:trackerPHD'} {'3 4' } {'Not applicable'} {0×0 double} {'F3:trackFuser'} {0×0 char} {'1 2' } {[ 2]}
Show the tracking architecture.
Tracking architecture, specified as a trackingArchitecture object.
axes
Axes on which to plot the tracking architecture, specified as an axes handle.
Axes on which the tracking architecture is plotted, returned as an axes handle.
Introduced in R2021a
addTracker | addTrackFuser | summary
addTracker
addTrackFuser
summary
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处