Community Profile

Contact

Top 5% contributor

ti = 1.0e+03 *[ 9.0000 3.6000 1.8000 1.2857 0.9000] ; di = [0.0400 0.0800 0.1300 0.1800 0.2300]; x=ti; y=di; a0=[1,1e-3]; f...

accepted

1

Answered 3 years ago

Hi floor(1.4e3/0.025e3)

Hi b=solve('b-65','b'); b=subs(b) eq1=['-es-2.69*Ta+' num2str(b)]; eq2='-es+6.11*exp((2.492E6/...

0

a=randperm(n); b=a(1:k)

try 'fsolve' fplot('(47.457/b1)-(76.3792)+(3.0499)-(((2.7272^b1)*(1.0033)+(1.59^b1)*(0.46376)+(2.4506^b1)*(0.89632)+(...

compute_times=length(A)*length(B)*length(C)*length(D)*length(E)*length(F)*length(G)*length(H)*length(I)*length(J)*length(K)*leng...

the element arrangement cant be changed . ODE has strict rule. f(1)=dx/dt=u, f(1) must be first-order differential equation ...

you can convert the pde function as follow d2u/dx2=[a5*ln(1/(du/dt+a1*u+1/2)-1)-a2*ln(1/(dv/dt+a1*u+1/2)-1)]/(a2*a6-a3*a5) ...

randperm(30) produces a vector ,including 1 to 30. But your matrix's column is 15 . So,it is possible that 'Random_new_...

syms b G G1 M1 M2 P1 P2 Out=solve('G*(P1*exp(-b*M1/P1)/( P1*exp(-b*M1/P1)+ P2*exp(-b*M2/P2)))-G1', b) G = [7340, 7194]; ...

You just show an simple matrix , which has the same zeros in each row. So,if you matirx is this case, the code as first one. e...

You can add another bar of condition code as follow . The fourth data of your vectors are almost identical, you can use 'zoom i...

u can define variable x but not b1 and b2 before the loop , the code as follow clc; clear all; x=[15.5, 39.8, 21.3, 18....

x0 and y0 must be one input , can't be a vector.

[TOUT,YOUT] = ODE45(ODEFUN,TSPAN,Y0) YO should be a vector to match ode function [t,x]=ode45('Function',[0,20],[1 1])

do u mean : data_new=data(:)'

clc clear all syms a b c g=a+b+c; i=1:4; A=1+i; B=2+i; C=3+i; mu=subs(g,{a,b,c},{A,B,C})

help ode45

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries