Want to know how to modify the pole zero plot
7 次查看(过去 30 天)
显示 更早的评论
I was trying plot the pole zero plot of a transfer function.And used the code
H=pzplot(t1) for the same and got the output like this
But I wanted an answer like this
What should I do?
These are the Filter coefficients
b = [1,0.618,1] %numerator coefficients
a = [1,0,0] % denominator coefficients
b = b/sum(b) % normalization
figure
t1 = tf(b,a,(1/fs))
Thank You
2 个评论
Dyuman Joshi
2023-2-1
You want to add the text, 'Zeros' and 'Poles' at the respective points? or change something else?
采纳的回答
Sarvesh Kale
2023-2-1
I understand that you are trying to modify the plot, you can do this using the following steps.
1.) In the figure window under view select property editor
2.) After the property editor pops up, select the gray area in the figure, the property editor will show you options that you can modify of background, select the Figure color you want from the dropdown menu of Figure Color property
3.) Now comes the text part, since you want to insert text into the figure, from the menu of figure go to insert -> textbox, and then enter the names zeros and poles in two seperate textboxes and drag and paste them in the figure where you want them, you can get rid of the boundary of textboxes by selecting the textbox and setting its LineStyle to none, similarly you can modify the text color from the properties visible under property editor
4.) select the zeros on the plot if you want to modify its color and change its color from property editor
Then close the property editor from the top right corner of property editor dropdown menu and you have the graph that you need.
If you want to modify the properties by code/command line then refer the following documentation where modifying the graphics objects is shown along with example https://in.mathworks.com/help/matlab/creating_plots/graphics-objects-overview.html
Hope this answers you query, please accept the answer if it does.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!