Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, Could you help me with my code fix the x and y -axis by using the MATLAB? The problem is that when i am

Hi,

Could you help me with my code fix the x and y -axis by using the MATLAB?

The problem is that when i am trying to combine two plots, i am getting two lines(but when i am dividing the two plots, i am getting my wanted plots).

image text in transcribedimage text in transcribed

image text in transcribed

Thank you in advance for your help

Figure1 2 -clear File Edit View Insert Tools Desktop Window Help eps 0; epsone 0.02; gama-0.1; alfa- (epsone-eps/gama) k-linspace (-pi,pi,101) beta-alfa/2*sin (k) 6 T(E) -E-eps (2*gama*cos (k)) 11T (1/1+ (beta).2) 12 13 14-R 1-T: 15 16 10- gw=log10 (T) ; 0.8 0.6 %plot (E, T) plot (E,R) plot (E, T, E, R) 0.4 18 19 20 - 21- ax.XAX1sLocation = "origin'; ax.YAxisLocation = 'origin'; xlabel 'E); 0.2 2ylabel (TE)' 23 24 0.15 0. 0.05 0.05 0.1 0.15 cic clear Figure 1 File Edit View Insert Tools Desktop Window Help eps 0; epsone-0.02; gama-0.1; alfa- (epsone-eps/gama); k-linspace (-pi,pi,101) beta-alfa/2*sin(k); E-eps- (2*gama*os (k) T= (1/1+ (beta) ."2) ; qw-log10 (T) T(E 1.00009 1.00008 1.00007 1.00006 1.00005 1.00004 R 1-T plot (E, T) %plot (E, R) %plot (E, T, E, R) ax = gca ; ax.XAxisLocation = 'origin'; ax.YAxisLocation -rigin' xlabel (E ylabel ('T(E) 1.00003 1.00002 1.00001 0.2 -0.15 0 0.05 0.05 0.1 0.15 0.2 1 clc Figure1 2 -clear File Edit View nsert Tools Desktop Window Help eps 0: epsone-0.02; gama-0.1: alfa- (epsone-eps/gama) k=linspace (-pi,pi , 101); beta-alfa/2*sin(k) E-eps- (2* gama*cos (k)) T- (1/1+ (beta) .2); qw-log10 (T) 5 6 0.2 -0.15 0. 0.05 0 0.05 0.0.15 0.2 8- T(E) 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 -0.9 10 - 12 13 14 15 16- 17 18 19- ax. XAxisLocation='origin'; 20 - 21 22 - 23 2 4 %plot (E, T) plot (E,R) %plot (E, T, E, R) ax = gca; ax. YAxisLocation = xlabel 'E ylabel ('T(E)) ' origin

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

a. What is the purpose of the team?

Answered: 1 week ago

Question

b. What are its goals and objectives?

Answered: 1 week ago