Looking for help plotting multiple values in graph
Mostrar comentarios más antiguos
Hello,
I'm trying to plot multiple values on the same graph. For the code attached, i'm trying to plot both Ex and Gxy on the same graph, but I am only able to get the Ex values to show up. Any help would be appreciated.
Respuestas (2)
Walter Roberson
el 8 de Abr. de 2019
0 votos
On line 128, you have 1/G12((cosd(theta)^4 and so on. MATLAB has no implicit multiplication, so it interprets that as a being a request to index G12 at cosd(theta)^4 and so on.
Daniel Jasinski
el 8 de Abr. de 2019
0 votos
1 comentario
Walter Roberson
el 8 de Abr. de 2019
I suspect you want 1/G12*((cosd(theta)^4 and so on -- note the * between the G12 and the (
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!