Want to know how to modify the pole zero plot
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Krishnapriya
el 1 de Feb. de 2023
Comentada: Krishnapriya
el 1 de Feb. de 2023
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 comentarios
Dyuman Joshi
el 1 de Feb. de 2023
You want to add the text, 'Zeros' and 'Poles' at the respective points? or change something else?
Respuesta aceptada
Sarvesh Kale
el 1 de Feb. de 2023
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Filter Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!