# Craig Egan Allistair Tan

**Statistics**

**MATLAB Answers**

**8** Questions

**0** Answers

RANK**190 448**

of 258 190

REPUTATION**0**

CONTRIBUTIONS

**8** Questions

**0** Answers

ANSWER ACCEPTANCE **
12.5%
**

VOTES RECEIVED**0**

RANK

of 17 794

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110 337

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

What command/s can I use to multiply matrices M_G and M_A via Transfer Matrix Method N times given N pairs?

lambda_0 = 0.980; % Cavity length of DBR mirror in micron d_G = 0.0697...

3 dagar ago | 0 answers | 0

### 0

answersQuestion

Hello, I get an error when trying to make a 3d plot using the mesh and meshgrid functions. I don't understand the Property Value Pairs Expected' error that I get.

m = 9.10938188e-31; % Mass of an electron in kg L = 9; ...

4 månader ago | 1 answer | 0

### 1

answerQuestion

How to I find the intersection point between y=x*exp(x)/(exp(x)-1) and y=3? I can't seem to have the intersection point displayed.

x = 1:1:10; f = @(x) x.*exp(x); g = @(x) exp(x)-1; y_1 = @(x) f(x)./g(x); y_2 = @(x) yline(3,'b'); intersection = find(y_1(...

4 månader ago | 1 answer | 0

### 1

answerQuestion

Hello, I keep getting an error about undefined unary operators. I don't understand this error and I don't know what else I am missing.

V_0 = 3.845223509e-20; % Barrier ...

5 månader ago | 1 answer | 0

### 1

answerQuestion

How do I plot fractional orders of the Bessel function of the first kind (e.g. J_{1/3}(x))? Can I still use the besselj function?

clc;clear all;clf; x=-20:0.1:20; J1/3=besselj(1/3,x); figure(1) plot(x,J1/3,'k'); grid on legend('J_{1/3}') xlabel('x');y...

5 månader ago | 1 answer | 0

### 1

answerQuestion

Hello, I'm trying to plot one non-piecewise function and two piecewise functions in one graph but I keep getting an error. I don't understand the two error messages below.

clear all; close all; clc; function y = piecewise1(x) switch x case x * (x < 0 & x <= 1) y = 1*x-(1/2)*x^2; ...

6 månader ago | 1 answer | 0

### 1

answerQuestion

Hello, I'm trying to plot the I-V curve for a MOSFET, but I get a "Vectors must be the same length" error message. I don't understand why this is the case.

clear all; close all; clc; x1 = 0:0.01:0; y1 = (0).*x1-(1/2).*x1.^2; x2 = 0:0.01:6; y2 = (1/2).*0^2; x3 = 0:0.01:1; ...

6 månader ago | 1 answer | 0

### 1

answerQuestion

Hello, I am trying to plot the transmission coefficient vs energy for the double barrier potential, but I get an error. May I know what I have done wrong here?

V_0 = 0.2800; % Barrier strength in eV hbar = 1.054571596e-34; % Reduced Planck constant m = 5.465629128e-32; % 0.06*m_e L = ...

7 månader ago | 1 answer | 0