polarG(start_comple​x,end_complex,arrow​_length,arrow_angle​,colour_code,line_w​idth)

版本 6.0.0.0 (5.1 KB) 作者: Scott Williams
Vector Diagram Matlab Plot
438.0 次下载
更新时间 2015/10/1

查看许可证

Draws two dimensional vectors on Matlab figures. Uses complex numbers. Example provided. Should be used in conjunction with 'export_fig' for high quality output. For each vector, start point, end point, arrow head length, arrow tip angle, colour, & line width are specified. If pol2rec(magnitude, angle) also downloaded, can take vector start/end point in polar form.
How it works: arrow head is 250 carefully placed lines at right angle to vector, finishing at end point of vector.

引用格式

Scott Williams (2024). polarG(start_complex,end_complex,arrow_length,arrow_angle,colour_code,line_width) (https://www.mathworks.com/matlabcentral/fileexchange/53261-polarg-start_complex-end_complex-arrow_length-arrow_angle-colour_code-line_width), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polar Plots 的更多信息
致谢

参考作品: export_fig

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
6.0.0.0

Previous version drew arrow for vector as horizontal or vertical lines. Now, arrow consists of series of lines at right angles to the vector. Additional argument required, angle of arrow (deg). Error handling arrow length > vector length
Changed description to indicate code fixed; there is no longer a problem with some arrows not looking right.

1.0.0.0

Added screenshot with output using export_fig. Other function here, pol2rec() is good to use in conjunction with this. In this way, polar form (magnitude and phase) of vector can be entered.