Brendan
Followers: 0 Following: 0
Feeds
提问
Getting the Error "Not enough input arguments" but I did the exact same method earlier in the code without issue..
clear all close all clc % EMEC-342 Mini Project: 4-Bar Linkage Analysis % Known Values a=10; % cm b=25; %cm c=25; %cm...
2 months 前 | 1 个回答 | 0
1
个回答提问
I'm not sure as to why MATLAB is not outputting the figure, as well as the vector [T_Euler]. When I run the code it is fine, but when publishing I don't see either. Any fixes?
%% problem description % Determine the temperature vs time for hot iron with convection and % radiation. %% driver functi...
1 year 前 | 1 个回答 | 0
1
个回答提问
I'm unsure as to why MATLAB is returning an infinite root no matter the initial guess. Can someone help with this?
%% False-position root finder function FP_iteration_root_finder clear clc close all Bi = 4.8; %initial ...
1 year 前 | 1 个回答 | 0
1
个回答提问
Why am I getting an error here?
clear all close all clc % constants and data g = 9.81; D = 75; rho= 1000; Z = 0:12.5:75; w = [122 130 135 160 175 190 2...
1 year 前 | 1 个回答 | 0
1
个回答提问
Can anyone tell me why I'm getting an error here? "xold=xnew;'' is giving me an error in this statement and I'm not sure why.
clear all close all clc % Problem 6.7 while (1) fx=@(x) x.^3-6*x.^2+11*x-6.1; % Using the Modified Secant Method ...
1 year 前 | 1 个回答 | 0
1
个回答提问
"theta" is defined inside of the statement, but when I run my code it gives me an error saying that " 'theta' is not a recognized function or variable'. Any solutions?
x = [2 2 0 -3 -2 -1 0 0 2]; y = [0 1 3 1 0 -2 0 -2 2]; r = (sqrt((x.^2)+(y.^2))); if x > 0 theta = atan(y./x); e...
2 years 前 | 1 个回答 | 0