Community Profile

photo

Seifeldin Mohamed


Last seen: etwa ein Monat vor Aktiv seit 2022

Statistiken

Content Feed

Anzeigen nach

Beantwortet
I need to adda legend to this code, as tried in the last three lines !
Thank you so much, however, how can I chnage the color of the legend itself to be simialr to the color of the y-axis ?

8 Monate vor | 0

Frage


I need to adda legend to this code, as tried in the last three lines !
x = categorical({'Present '; 's'}); y = [2363; 2090]; z = [0.19154; 0.17777]; nil = [0; 0]; yyaxis left bar(x, [y nil], 'gr...

8 Monate vor | 2 Antworten | 0

2

Antworten

Frage


The size of X must match the size of Z or the number of columns of Z.
clc clear all close all %Geometry definition L=0.3; %Length of the The rectangular bar in meter W=0.4...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


I am trying to plot the each value of C at different theta values, but I found an error. Error: Invalid expression. When calling a function or indexing a variable, use parenth
clear all clc c=[0.5,0.75,1,1.1]; theta=[-pi:0.01:pi]; a=zeros(1,629); for k=c G(k)=(1+4*(a(k)).^2-a(k)).*(sin(theta/2...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


the code print -inf in TT matrix. Please anyone helps
clear all close all clc %Geometry definition L=0.3; %Length of the The rectangular bar in meter W=0.4...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


error: Index in position 2 exceeds array bounds (must not exceed 31).
clear all clc %Geometry definition L=0.3; %Length of the The rectangular bar in meter W=0.4; ...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


While I am running this code I get this error, could anyone knows how to solve it ? (Unable to perform assignment because the size of the left side is 1-by-41 and the size of)
clear all clc %Geometry definition L=0.3; %Length of the The rectangular bar in meter W=0.4; ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort