photo

joshua payne


Last seen: plus d'un an il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2

Afficher les badges

Feeds

Afficher par

Question


i want to have subsets in my legend
clc clear all %plot oecd total energy for steps, aps, and sds TES_historical_time=[2010 2015 2019 2020 ]; TES_histori...

plus d'un an il y a | 1 réponse | 1

1

réponse

Question


using lsqnonlin with multiple functions
im trying to optimize parameters,x, using 3 functions, fun1, fun2, fun3. the optimized parameters must be the best fit for all ...

plus d'un an il y a | 2 réponses | 0

2

réponses

Question


using lsqnonlin with constraints
clc clear all %read in text data D=readmatrix('Treloar_data.xlsx'); stretch=D(1:end,1); %this is lambda lambda=stretch; ...

plus d'un an il y a | 2 réponses | 0

2

réponses

Question


filling a matrix using for loops
clc clear all Rmax=10; Rcyl=.5; Uinf=1; Nr=50; Ntheta=50; theta=linspace(0,2*pi,Ntheta) %discretize dr=(Rmax-Rcyl)/(...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


im trying to solve this system of 10 equations
clc clear all M=10 deltax=2*pi/M syms f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 U1=f1*exp(1i*deltax)+f2*exp(1i*2*deltax)+f3*exp(1i*3*d...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


I want to check if something algebraically simplifies to 0 when i sub in values
clc clear syms q1 q2 q3 g Y u a rho e E=[q2,((q2^2)/q1)*(1-(g-1)*.5)+(g-1)*q3,((q3*q2)/q1)+(g-1)*((q3*q2)/q1)-.5*(g-1)*(q2^...

presque 2 ans il y a | 2 réponses | 0

2

réponses

Question


i want to use a function to calculate values using 2 changing inputs
clc clear M_inf=[1.46772 1.49692 1.52613 1.55533 1.58332 1.61132 1.63931 1.66731 1.69559 1.72386 1.75213 1.78041 1...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


how to calculate for a range of values for different initial conditions
function [theta]=theta_beta_M(beta,M,gamma) % return theta for beta-theta-M relationship for oblique shock beta=linspace(0,(pi...

presque 2 ans il y a | 2 réponses | 0

2

réponses

Question


im trying to solve a system of 4 nonlinear equations with 4 unknowns
clc clear all f= @(x) [x(1)+.17*x(1)-x(2)-x(3)-x(4); (((x(3)^(1/2))*x(4))/x(2))-.465797; 2*x(1)-2*x(2)-2*x(3)-x(4); 2*(.17*x...

environ 2 ans il y a | 2 réponses | 0

2

réponses

Question


trying to plot 3 variables in 3d
clc clear all theta= linspace(.01, .55) %for thetamax = 32 degrees M=linspace(2,5) gamma=1.4 lambda3=sqrt((((M.^2)-1).^2)-3...

environ 2 ans il y a | 2 réponses | 0

2

réponses

Question


solving a system of equations
clc clear all M1=3 P1=101325 %pa or 1 atm theta2 = .349 %rad or 20 degrees theta3 =.262 %rad or 15 degrees %first get P2 ...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


need to solve for a variable numerically
need to solve for M1 based off data and equations. gamma=1.4; M=((((Po./P).^((gamma-1)./gamma)-1)*2)/(gamma-1)).^(1/2); Mso...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


solving an equation for a variable that has changing varibles in it
im trying to solve for M1 based off a changing Pr index1=1:304; index2=697:1000; index3=305:696; figure plot(t(index1),M...

environ 2 ans il y a | 1 réponse | 0

0

réponse

Question


I have an equation that relies on previous values to get the next.
this is the basic set up i have P=[1 2 3 4 5] M1=0 P2/P1=(1+M2^2)/(1+M1^2) i need to solve for M2, then using M2 as the new ...

environ 2 ans il y a | 1 réponse | 0

1

réponse