![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16499864_1570527280914_DEF.jpg)
SUNGJIN KIM
Followers: 0 Following: 0
Feeds
提问
I keep getting an error. Help
%This progrem will use dfuncl.m tspan = 0: 0.05: 8; y = [0.4; 0;0]; [t , y]= ode23(@odefun, tspan, y); plot (t, y(:, 1)); x...
2 years 前 | 1 个回答 | 0
1
个回答提问
Insufficient input arguments. continues to come out. Help
2.187 %This progrem will use dfuncl.m tspan = 0: 0.05: 8; y = [0.4; 0;0]; [t , y]= ode23(odefun, tspan, y); plot (t, y(:, 1...
2 years 前 | 1 个回答 | 0
1
个回答提问
In the LU decomposition method, I used a 4*5 matrix. However, L and U should originally come out as 4*5 matrices, but both come out only 4*4 matrices. What is the cause?
function [L,U] = LU(A) A = [4 -2 -3 6 12;-6 7 6.5 -6.5 -6.5;1 7.5 6.25 5.5 16;-12 22 15.5 -1 17]; [m,n] = size(A); f...
3 years 前 | 0 个回答 | 0
0
个回答提问
The msgbox pops up here, but when I click OK, the graph doesn't appear. Why?
hm = msgbox('To calibrate pick up three non-collinear points'); waitfor(hm) X = ones(3, 3); S = zeros(3, 2); prompt = ...
4 years 前 | 1 个回答 | 0
1
个回答提问
If I follow this code I get the graph, but when I hit enter in the command window it says "Array index must be a positive integer or logical value" on line 45. I don't know what this means... .
Hf_fig = figure; phi = 0: 15: 90; heel = pi*phi/180; B = 6.480; T = [ 1.729 1.575 1.163 0.600 -0.012 -0.693 -1.354 ]; w ...
4 years 前 | 0 个回答 | 0
0
个回答提问
If you follow this code, you will see a graph, but when you hit enter, line 45 keeps saying "'l' is an unrecognizable function or variable." But even though for I= 2:k is given, what is the problem?? ?
Hf_fig = figure; phi = 0: 15: 90; heel = pi*phi/180; B = 6.480; T = [ 1.729 1.575 1.163 0.600 -0.012 -0.693 -1.354 ]; w ...
4 years 前 | 1 个回答 | 0
1
个回答提问
M(1,:) = [0;KB(1)]; In'The left side size is 1x7 and the right side size is 2x1, so the value cannot be assigned'. What is the problem???
Hf_fig = figure; phi = 0: 15: 90; heel = pi*phi/180; B = 6.480; T = [ 1.729 1.575 1.163 0.600 -0.012 -0.693 -1.354 ]; w ...
4 years 前 | 1 个回答 | 0
1
个回答提问
In line 5,'The dimensions of the matrix must match.' Is displayed. How do I fix it???
Hf_fig = figure; set(Hf_fig, 'NumberTitle', 'off',... 'Name', 'B and M curves'); clf x = -T.* sin(heel); y = T.*cos(heel...
4 years 前 | 0 个回答 | 0
0
个回答提问
Looking at the graph, there should be 3 graphs in the legend, but why are there 5?
function [SteadyHeel] = SailCode(stability, KG, GM, downflood) stability = [0 5 10 ... 85 900; 0 0.308 0.611... 3.249...
4 years 前 | 1 个回答 | 0