photo

Samuel Suakye


Last seen: 22 days ago Active since 2017

Followers: 0   Following: 0

Statistics

  • First Answer
  • Thankful Level 2
  • Thankful Level 3

View badges

Feeds

View by

Question


How do I fix "Index in position 2 exceeds array bounds (must not exceed 1)."
clc; clear; close all; %% Data % Define the parameters qe = 1; n = 5e16; p = 0.525; E_0 = 10e3; v_s = 3.5e3; epsil...

1 year ago | 1 answer | 0

1

answer

Question


Unable to perform assignment because the left and right sides have a different number of elements.
there is this error ''Unable to perform assignment because the left and right sides have a different number of elements'' poopin...

2 years ago | 1 answer | 0

1

answer

Answered
display legends with different line styles in matlab
col = [0,0,1;0.9,0.4,0.17;0,1,0]; % Blue, Orange, Green How do I change this to linestyle

2 years ago | 0

Question


Matlab graphs not showing
Below are my codes n = 5*10e12; vf = 1.0*10e6; mo = 9.109*10e-31; m = 0.44*mo; tau = 10e-12; e =...

4 years ago | 1 answer | 0

1

answer

Question


besselj: NU and Z must be the same size or one must be a scalar.
Plotting the following equation i.e. jx vs. omega (w) (find below) numerically but say NU and z of the besselj must have same si...

4 years ago | 1 answer | 0

1

answer

Question


Multiple Graphs not showing
Please I am ploting this equation numerically but the graphs are not showing. Below is the equation Also this is what I did (...

4 years ago | 0 answers | 0

0

answers

Question


Vectors must be the same length
Ploting this equation numerically and this is what I've done (below) but it says vector must be the same length. Thank you f...

4 years ago | 1 answer | 0

1

answer

Question


double summation in matlab
Plotting j_z/j_o against beta_1 = {0,...,10}; and beta_2 = 1, This is what I have done (check the code below) using symsum but...

4 years ago | 1 answer | 0

1

answer

Question


Error using plot: Data must be numeric, datetime, duration or an array convertible to double.
clc; b = 0.142e-9; gammao = 3.0; m = 101; hbar = 1; e = -1; K = 8.617e-16; T = 287.5; a = ((3*b)/(2*hbar)); Pz = ((2*pi*hba...

4 years ago | 1 answer | 0

1

answer

0

answers

Question


Array indices must be positive integers or logical values.
hFig = figure clc; v = 2.0;u = 2.0; K = 8.617e-5; trig = sin(4)*cos(4); p = 2.7; t = 2.0; e = 1.6022e-19; deltag = 0.0156;...

4 years ago | 2 answers | 0

2

answers

Question


Multiple graphs not showing
% A graph of alpha_xi=a vrs T (temperature) % sigma(u)/sigmao = w = sigma(u)+ sigmapri(u) % On 02-04-2020 % Let omega*tau = ...

4 years ago | 1 answer | 0

1

answer

Question


How to correct matrix dimension disagree error
figure clear; clc; v = 1.0; n=[0.00 0.10 0.12 0.18]; u = linspace(0,2); %% for i = 1:length(n) sigma = ((1i.*u-1-v....

4 years ago | 2 answers | 0

2

answers

Question


Modified Bessel function of the zero and first order
These are my codes % Figure 1 % Motionless breather figure clear; clc; % hbar(Naturalpunits)=1; hbar=6.5821220*10e-16;...

7 years ago | 0 answers | 0

0

answers

Question


Correct codes but no graph shows
What do you do when your codes are correct but the graph does not show And do you add other graphs to be on same graph

7 years ago | 1 answer | 0

1

answer