photo

Brendan


Last seen: 2 Monate vor Aktiv seit 2023

Followers: 0   Following: 0

Statistik

  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


"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...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort