John McCann
Followers: 0 Following: 0
Feeds
提问
Index in position 2 is invalid. Array indices must be positive integers or logical values.
%% Material parameters data_rho = [7840,0.44]; data_Cp = [490,0.0733333]; data_k = [13.1947,0.0126919]; %% Geomet...
4 years 前 | 1 个回答 | 0
1
个回答提问
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 10-by-10. not sure why i am getting this error
data_rho = [7840,0.44]; data_Cp = [490,0.0733333]; data_k = [13.1947,0.0126919]; %% Geometry L = 0.03; %% Bo...
4 years 前 | 1 个回答 | 0
1
个回答提问
array indices must be positive intergers or logical values - not sure why i am getting this error message. same code worked for a friend of mine.
clf reset x=0:0.1:1; y=[0.9,6.9,31.6,21.5,34.4,68.2,66.4,114.9,155.9,199.3,209.6]; p1=polyfit(x,y,1); % the code below ca...
4 years 前 | 2 个回答 | 0