0% found this document useful (0 votes)
22 views

Lab8b PDF

This document contains Matlab code that calculates the Hall voltage for different doping concentrations of a material placed in a magnetic field. It defines constants for the electron charge, magnetic field strength, and initializes arrays for doping concentration and Hall voltage. It then calculates the Hall voltage using the given equation and plots the results, labeling the graph with the variation of Hall voltage with respect to doping concentration.

Uploaded by

Injimamul Islam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Lab8b PDF

This document contains Matlab code that calculates the Hall voltage for different doping concentrations of a material placed in a magnetic field. It defines constants for the electron charge, magnetic field strength, and initializes arrays for doping concentration and Hall voltage. It then calculates the Hall voltage using the given equation and plots the results, labeling the graph with the variation of Hall voltage with respect to doping concentration.

Uploaded by

Injimamul Islam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

0001 clc;

0002 clear all;


0003 e=1.6*10^-19;
0004 Bz=5*10^-2;
0005 p=10^13:10^15:10^19;
0006 d=0.001;
0007 Ix=1*10^-3;
0008 Vh=(Bz*Ix)*(e*p*d)^(-1);
0009 plot(p,Vh);
0010 title('Varitaion of Hall Voltage w.r.t doping concentration');
0011 xlabel('Doping concentration');
0012 ylabel('Hall Voltage');

You might also like