
Torsten
Content Feed
已回答
Index exceeds the number of array elements. Index must not exceed 10000.
My guess is that "Ytrain" has less than "len" elements. To confirm this, add the lines disp(len) disp(size(Ytrain)) after th...
Index exceeds the number of array elements. Index must not exceed 10000.
My guess is that "Ytrain" has less than "len" elements. To confirm this, add the lines disp(len) disp(size(Ytrain)) after th...
2 hours 前 | 0
| 已接受
已回答
Estoy intentando acceder a los costos de las licencias para matlab
Contact Sales: https://de.mathworks.com/company/aboutus/contact_us/contact_sales.html
Estoy intentando acceder a los costos de las licencias para matlab
Contact Sales: https://de.mathworks.com/company/aboutus/contact_us/contact_sales.html
3 hours 前 | 0
已回答
REQUIRE CODE FOR PARAMETER IDENTIFIABILITY FOR ODE BASED MODEL HAVING KINETIC PARAMETERS.
Take a look at https://de.mathworks.com/matlabcentral/answers/1933060-find-kinetic-constants-from-differential-equations?s_tid=...
REQUIRE CODE FOR PARAMETER IDENTIFIABILITY FOR ODE BASED MODEL HAVING KINETIC PARAMETERS.
Take a look at https://de.mathworks.com/matlabcentral/answers/1933060-find-kinetic-constants-from-differential-equations?s_tid=...
4 hours 前 | 0
已回答
Getting Error Codes, not exactly sure what they mean or how to fix them, please help
% Define circuit parameters Vin_rms = 120; % V Vout = 2.4; % V Iload = 25e-3; % A Vripple = 0.12; % V R2 = 1e3; % Ohm...
Getting Error Codes, not exactly sure what they mean or how to fix them, please help
% Define circuit parameters Vin_rms = 120; % V Vout = 2.4; % V Iload = 25e-3; % A Vripple = 0.12; % V R2 = 1e3; % Ohm...
14 hours 前 | 0
已回答
I am trying to get the answer for the sum to infinity for a geometric series. My output should be 3/2 and a loop should be used. I've done that but it won't work. Please help
Sum2Infinity = 0.0; for i = 0:1:10000 Sum2Infinity = Sum2Infinity + FirstTerm * CommonRatio^i; end
I am trying to get the answer for the sum to infinity for a geometric series. My output should be 3/2 and a loop should be used. I've done that but it won't work. Please help
Sum2Infinity = 0.0; for i = 0:1:10000 Sum2Infinity = Sum2Infinity + FirstTerm * CommonRatio^i; end
19 hours 前 | 0
| 已接受
已回答
I cant get the correct plotting
% Given p = 7500; % kg/m^3 Cd33 = 16*10^10; %N/m^2 vp= 4620; % Ns/m Ceb = 1.43E-9; % F phi = 2.62; % As/m % Piezoelectri...
I cant get the correct plotting
% Given p = 7500; % kg/m^3 Cd33 = 16*10^10; %N/m^2 vp= 4620; % Ns/m Ceb = 1.43E-9; % F phi = 2.62; % As/m % Piezoelectri...
19 hours 前 | 0
| 已接受
已回答
Matrix size mismatch Matlab Function
S(j) is a single value (1x1). exp(-norm(r-mu(:,j))^2/(2*sigma^2)) is a vector (50x1). You try to save a vector in a scalar val...
Matrix size mismatch Matlab Function
S(j) is a single value (1x1). exp(-norm(r-mu(:,j))^2/(2*sigma^2)) is a vector (50x1). You try to save a vector in a scalar val...
19 hours 前 | 0
| 已接受
已回答
Help with solving a system of coupled equations of motions in time domain?
How did you come up with the sdot vector for the equations so far ? If you use a mass matrix, you simply have to add the additi...
Help with solving a system of coupled equations of motions in time domain?
How did you come up with the sdot vector for the equations so far ? If you use a mass matrix, you simply have to add the additi...
22 hours 前 | 1
已回答
Error using odearguments ; Error in ode15s (line 153); Error in anand_shrivastan (line 625) ;below is the code
Add dZdt = dZdt.'; as last line in function "SpeciesODE".
Error using odearguments ; Error in ode15s (line 153); Error in anand_shrivastan (line 625) ;below is the code
Add dZdt = dZdt.'; as last line in function "SpeciesODE".
1 day 前 | 0
| 已接受
已回答
How to solve large system of nonlinear equations using fsolve?
n = 20; A = rand(n); B = @(X)X*A-X.*X; X0 = rand(1,n); X = fsolve(B,X0) % or n = 20; A = rand(n); B = @(X)quadratic(X,A)...
How to solve large system of nonlinear equations using fsolve?
n = 20; A = rand(n); B = @(X)X*A-X.*X; X0 = rand(1,n); X = fsolve(B,X0) % or n = 20; A = rand(n); B = @(X)quadratic(X,A)...
1 day 前 | 0
| 已接受
已回答
Cannot use solver function with poisscdf function
syms lambda n eqn = exp(-lambda)*symsum(lambda^n/factorial(n),n,0,35) == 0.95; solve(eqn,lambda)
Cannot use solver function with poisscdf function
syms lambda n eqn = exp(-lambda)*symsum(lambda^n/factorial(n),n,0,35) == 0.95; solve(eqn,lambda)
1 day 前 | 0
已回答
Very slow function, excessive overhead?
The inner while loop is not necessary: if flag(i,2)-flag(i-1,2) == 1, then of course flag(i,2)-flag(i-1,2) ~== -1. Thus the incr...
Very slow function, excessive overhead?
The inner while loop is not necessary: if flag(i,2)-flag(i-1,2) == 1, then of course flag(i,2)-flag(i-1,2) ~== -1. Thus the incr...
2 days 前 | 0
已回答
Problem during the use of 'fzero'
I'm surprised the initial value x0 is part of your function definition. Are you sure this is correct ? %% Global variables decl...
Problem during the use of 'fzero'
I'm surprised the initial value x0 is part of your function definition. Are you sure this is correct ? %% Global variables decl...
2 days 前 | 0
已回答
How to solve 2nd order BVP using Chebyshev Spectral Method?
alpha = 0.1; xmesh = linspace(0,1,50); solinit = bvpinit(xmesh, [0 0]); bvpfcn = @(x,y)[y(2);0.75/(1+6*alpha*y(2)^2)]; bcfcn...
How to solve 2nd order BVP using Chebyshev Spectral Method?
alpha = 0.1; xmesh = linspace(0,1,50); solinit = bvpinit(xmesh, [0 0]); bvpfcn = @(x,y)[y(2);0.75/(1+6*alpha*y(2)^2)]; bcfcn...
2 days 前 | 0
已回答
Magnetized Hybrid Nanofluid Flow , MATLAB Code has some problem. Please help to Rectify. Highly Appreciated
MHN function MHN % Initialization of paramters beta=1.5; lambda=1.5; wt=2.5; wb=1.5; ks1=0.5; ks2=0.1; a=0.5; epsilo...
Magnetized Hybrid Nanofluid Flow , MATLAB Code has some problem. Please help to Rectify. Highly Appreciated
MHN function MHN % Initialization of paramters beta=1.5; lambda=1.5; wt=2.5; wb=1.5; ks1=0.5; ks2=0.1; a=0.5; epsilo...
2 days 前 | 0
| 已接受
已回答
optimization in smart energy management system.I have used MILP algorithm but i got infeasible solution no point satisfy the constraints.how could i sort out these issues.
I have used MILP algorithm but i got infeasible solution no point satisfy the constraints.how could i sort out these issues. It...
optimization in smart energy management system.I have used MILP algorithm but i got infeasible solution no point satisfy the constraints.how could i sort out these issues.
I have used MILP algorithm but i got infeasible solution no point satisfy the constraints.how could i sort out these issues. It...
2 days 前 | 0
已回答
how to supply a cost function gradient based on some of optimisation paramters
Would you please tell me if there is a way to supply a gradient based on some optimization parameters and use the finite differe...
how to supply a cost function gradient based on some of optimisation paramters
Would you please tell me if there is a way to supply a gradient based on some optimization parameters and use the finite differe...
2 days 前 | 0
已回答
Nested Function is not working correctly with ode45
You can also get an analytical solution for v since your piecewise equation is easily integrated. EGA215_1234567_A1_Q2 functio...
Nested Function is not working correctly with ode45
You can also get an analytical solution for v since your piecewise equation is easily integrated. EGA215_1234567_A1_Q2 functio...
3 days 前 | 0
已回答
Constrained Optimization Problem With Obj Function Which Is Numerical Solution To A System Of ODE's
You never use the 53 solution variables of u and v in your code. And you solve the following ODEs for u and v du/dt = u, u(0)...
Constrained Optimization Problem With Obj Function Which Is Numerical Solution To A System Of ODE's
You never use the 53 solution variables of u and v in your code. And you solve the following ODEs for u and v du/dt = u, u(0)...
3 days 前 | 0
已回答
Each element of INTCON must be an integer in the range [1 numVars], ([1 1]). What is the meaning??
f = c' * P_max + c0; % objective function is a scalar value. Thus intlinprog assumes you want to solve a problem with only one ...
Each element of INTCON must be an integer in the range [1 numVars], ([1 1]). What is the meaning??
f = c' * P_max + c0; % objective function is a scalar value. Thus intlinprog assumes you want to solve a problem with only one ...
3 days 前 | 1
已回答
Error using symfun/subsref (line 203) Invalid argument at position 2.
N(i) = symfun(((1/(2*A))*(a(i)+b(i)*x+c(i)*y)),[x y]); instead of N = symfun(((1/(2*A))*(a(i)+b(i)*x+c(i)*y)),[x y]); And N...
Error using symfun/subsref (line 203) Invalid argument at position 2.
N(i) = symfun(((1/(2*A))*(a(i)+b(i)*x+c(i)*y)),[x y]); instead of N = symfun(((1/(2*A))*(a(i)+b(i)*x+c(i)*y)),[x y]); And N...
3 days 前 | 0
已回答
I have these 3 columns and I want to divide p/z and put the p/z values in a new columns
p=[2080,1885,1620,1205,888,645]; z=[0.759,0.767,0.787,0.828,0.866,0.900]; gp=[0,6.873,14.002,23.687,31.009,36.207]; new_row =...
I have these 3 columns and I want to divide p/z and put the p/z values in a new columns
p=[2080,1885,1620,1205,888,645]; z=[0.759,0.767,0.787,0.828,0.866,0.900]; gp=[0,6.873,14.002,23.687,31.009,36.207]; new_row =...
4 days 前 | 0
已回答
How to obtained matris vector solution using fminunc function?
You will have to use fminunc three times: c_1=[3;5;8]; c_2=[2;6;8]; x1_sol = zeros(size(c_1)); x2_sol = zeros(size(c_1)); f...
How to obtained matris vector solution using fminunc function?
You will have to use fminunc three times: c_1=[3;5;8]; c_2=[2;6;8]; x1_sol = zeros(size(c_1)); x2_sol = zeros(size(c_1)); f...
4 days 前 | 0
| 已接受
已回答
Applying updated initial conditions at every points of tspan and solve system of ODE using ode45
Then why do you solve for v1 if you want to prescribe it ? Simply set v1 = u0x + vp*p1 in your code and determine displacement...
Applying updated initial conditions at every points of tspan and solve system of ODE using ode45
Then why do you solve for v1 if you want to prescribe it ? Simply set v1 = u0x + vp*p1 in your code and determine displacement...
5 days 前 | 0
已回答
Using lsqnonlin for deconvolution
lsqnonlin tries to adjust x, and you reset it to 0: function F=insulin(x) ... x=zeros(89,1); This destroys the complete fitt...
Using lsqnonlin for deconvolution
lsqnonlin tries to adjust x, and you reset it to 0: function F=insulin(x) ... x=zeros(89,1); This destroys the complete fitt...
5 days 前 | 1
已回答
The following error was reported evaluating the function in FunctionLine update: Unable to convert expression into double array.
Your calculations partially produce complex and NaN values. And you cannot prevent this by trying to force them to be real. pv1...
The following error was reported evaluating the function in FunctionLine update: Unable to convert expression into double array.
Your calculations partially produce complex and NaN values. And you cannot prevent this by trying to force them to be real. pv1...
5 days 前 | 0
已回答
Solve of implicity equations
You should first check whether a zero of your function really exists. It doesn't seem to be the case: alpha = 0.14; A = 3300; n...
Solve of implicity equations
You should first check whether a zero of your function really exists. It doesn't seem to be the case: alpha = 0.14; A = 3300; n...
5 days 前 | 0
已回答
why do I get this error in the simulation
Before calling "interp1", use % Sort array oxygen_energy_tot in ascending order [oxygen_energy_tot_sorted,idx_sort] = sort(oxy...
why do I get this error in the simulation
Before calling "interp1", use % Sort array oxygen_energy_tot in ascending order [oxygen_energy_tot_sorted,idx_sort] = sort(oxy...
6 days 前 | 0
| 已接受
已回答
ode45 with a array of vector
a1 = ...; a2 = ...; a3 = ...; b1 = ...; b2 = ...; b3 = ...; c1 = ...; c2 = ...; c3 = ...; vp = ...; tValues = linspace...
ode45 with a array of vector
a1 = ...; a2 = ...; a3 = ...; b1 = ...; b2 = ...; b3 = ...; c1 = ...; c2 = ...; c3 = ...; vp = ...; tValues = linspace...
6 days 前 | 0
| 已接受
已回答
function handle array Problem
result = integral(@fun,0,1000,'ArrayValued',1) function value = fun(a) m = [1,2]; U(3) = a + 2; V(3) = a - 2; for...
function handle array Problem
result = integral(@fun,0,1000,'ArrayValued',1) function value = fun(a) m = [1,2]; U(3) = a + 2; V(3) = a - 2; for...
6 days 前 | 0
| 已接受