Community Profile

# Samuel Suakye

Last seen: 7 jours il y a Actif depuis 2017

#### Content Feed

Afficher par

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...

5 mois il y a | 1 réponse | 0

### 1

réponse

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...

environ un an il y a | 1 réponse | 0

### 1

réponse

A répondu
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

environ un an il y a | 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 =...

plus de 3 ans il y a | 1 réponse | 0

### 1

réponse

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...

plus de 3 ans il y a | 1 réponse | 0

### 1

réponse

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 (...

plus de 3 ans il y a | 1 réponse | 0

### 0

réponse

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...

plus de 3 ans il y a | 1 réponse | 0

### 1

réponse

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...

plus de 3 ans il y a | 1 réponse | 0

### 1

réponse

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...

plus de 3 ans il y a | 1 réponse | 0

### 1

réponse

Question

Matlab code for summation series and iteration for the equation

plus de 3 ans il y a | 1 réponse | 0

### 0

réponse

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;...

plus de 3 ans il y a | 2 réponses | 0

### 2

réponses

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 = ...

plus de 3 ans il y a | 1 réponse | 0

### 1

réponse

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....

plus de 3 ans il y a | 2 réponses | 0

### 2

réponses

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;...

plus de 6 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 6 ans il y a | 1 réponse | 0

réponse