plotting 3d patterns
显示 更早的评论
I have an 2-D array of data of values at regular elevation and azimuth (or longitude/latitude) points. basically a bunch of r with regular theta and phi.
I would love to plot on a "globe" or an antenna pattern, geoshow requires equal number of latitude and longitude points? and running sph2cart constantly gives wrong dimensions.
latitude [181x1] double values (-90 to 90 )
longitude [360x1] double values(0-359)
pattern [360x181] double
>> geoshow(longitude,latitude,pattern)
Warning: Error creating or updating Surface
Error in value of property ZData
Array is wrong shape or size
>> [x y z]=sph2cart(longitude,latitude,pattern)
Error using .*
Matrix dimensions must agree.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Axes Transformations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!