Looking for help plotting multiple values in graph

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.

답변 (2개)

Walter Roberson
Walter Roberson 2019년 4월 8일

0 개 추천

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
Daniel Jasinski 2019년 4월 8일

0 개 추천

Ok thanks for the reply. How do I correct this? Those equations are needed to get the required values.

댓글 수: 1

I suspect you want 1/G12*((cosd(theta)^4 and so on -- note the * between the G12 and the (

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

태그

질문:

2019년 4월 8일

댓글:

2019년 4월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by