Feeds
已回答
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 ?
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 ?
2 years 前 | 0
提问
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...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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; ...
3 years 前 | 2 个回答 | 0
2
个回答提问
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; ...
3 years 前 | 1 个回答 | 0