photo

joshua payne


Last seen: circa un anno fa Attivo dal 2022

Followers: 0   Following: 0

Statistica

  • Thankful Level 2

Visualizza badge

Feeds

Visto da

Domanda


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

circa un anno fa | 1 risposta | 1

1

risposta

Domanda


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

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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)/(...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta