
Torsten
Content Feed
답변 있음
I don't know why this code doesn't stops :(
res(3) == 0 and res(4) == 0 are two nonlinear equations in the unknowns yp(3) and yp(4). ode15i seems to have problems following...
I don't know why this code doesn't stops :(
res(3) == 0 and res(4) == 0 are two nonlinear equations in the unknowns yp(3) and yp(4). ode15i seems to have problems following...
40분 전 | 0
답변 있음
Delay differential equations where every variable can take on multiple delays
I don't understand your mathematical formulation. Should the summation be over j instead of i ? And shouldn't there be a bracket...
Delay differential equations where every variable can take on multiple delays
I don't understand your mathematical formulation. Should the summation be over j instead of i ? And shouldn't there be a bracket...
대략 4시간 전 | 0
| 수락됨
답변 있음
Solving Multi-variable Partial Differential Equation
The only thing you can get with the "boundary condition" you gave is the solution on the characteristic curve of the PDE through...
Solving Multi-variable Partial Differential Equation
The only thing you can get with the "boundary condition" you gave is the solution on the characteristic curve of the PDE through...
대략 5시간 전 | 0
답변 있음
Curve fitting with more than 3 variables
Do you really think that there is a causal correlation between the housenumber and the energy from the grid ? So if the house nu...
Curve fitting with more than 3 variables
Do you really think that there is a causal correlation between the housenumber and the energy from the grid ? So if the house nu...
대략 5시간 전 | 1
답변 있음
i have some error in my MATLAB code .
B*delta_e(t) is undefined since B and delta_e(t) are both 4x1. Maybe you mean B.*delta_e(t) instead.
i have some error in my MATLAB code .
B*delta_e(t) is undefined since B and delta_e(t) are both 4x1. Maybe you mean B.*delta_e(t) instead.
대략 19시간 전 | 0
답변 있음
How to draw ellipse around my data
https://uk.mathworks.com/help/stats/fitgmdist.html After fitting, you can plot a 90% ellipse around your data. What does it me...
How to draw ellipse around my data
https://uk.mathworks.com/help/stats/fitgmdist.html After fitting, you can plot a 90% ellipse around your data. What does it me...
대략 22시간 전 | 0
답변 있음
Event function with DAE system
options = odeset('Mass', M, 'MassSingular', 'yes', 'RelTol', 1e-4, 'AbsTol', 1e-6,'Events',@event); function [position,isterm...
Event function with DAE system
options = odeset('Mass', M, 'MassSingular', 'yes', 'RelTol', 1e-4, 'AbsTol', 1e-6,'Events',@event); function [position,isterm...
대략 23시간 전 | 0
답변 있음
I get error in unrecognized function or variable 'T'.
I changed the bold parts below: T = t; for j = 1:length(t) %with drugs T(j+1)=T(j)+dt; M13(j+1) = M13(j)+...
I get error in unrecognized function or variable 'T'.
I changed the bold parts below: T = t; for j = 1:length(t) %with drugs T(j+1)=T(j)+dt; M13(j+1) = M13(j)+...
대략 23시간 전 | 0
| 수락됨
답변 있음
Error in ode15s: incompatible sizes arrays, while no errors in function
if Re(i,j)/Re_check(i,j)<0.95 || Re(i,j)/Re_check(i,j)>1.05 fprintf('Re difference too big \n') return end if Re(i...
Error in ode15s: incompatible sizes arrays, while no errors in function
if Re(i,j)/Re_check(i,j)<0.95 || Re(i,j)/Re_check(i,j)>1.05 fprintf('Re difference too big \n') return end if Re(i...
1일 전 | 0
| 수락됨
답변 있음
How to draw 3d plot with system of equations
Use https://uk.mathworks.com/matlabcentral/fileexchange/9261-plot-2d-3d-region %plotregion([1,2;2,1;1 -1;1 -4;-4,1],[-1;4;-1;-...
How to draw 3d plot with system of equations
Use https://uk.mathworks.com/matlabcentral/fileexchange/9261-plot-2d-3d-region %plotregion([1,2;2,1;1 -1;1 -4;-4,1],[-1;4;-1;-...
2일 전 | 0
| 수락됨
답변 있음
interpolation of coordinates in space using interp3
Given two points P1 = [1 3 4]; and P2 = [3 6 -1]; you can connect them by a line s = @(t) (1-t)*P1 + t*P2; and choose poi...
interpolation of coordinates in space using interp3
Given two points P1 = [1 3 4]; and P2 = [3 6 -1]; you can connect them by a line s = @(t) (1-t)*P1 + t*P2; and choose poi...
2일 전 | 0
답변 있음
How can I plot an ellipsoid using the ellipsoid function with a given equation in the form of ax^2+by^2+cz^2 = 1.
f = @(x,y,z) x.^2 + y.^2 + z.^2 - 1; fimplicit3(f)
How can I plot an ellipsoid using the ellipsoid function with a given equation in the form of ax^2+by^2+cz^2 = 1.
f = @(x,y,z) x.^2 + y.^2 + z.^2 - 1; fimplicit3(f)
2일 전 | 0
답변 있음
incorrect dimensions in data set
The code works technically. But after all the changes I made, it's not clear if it does what you want. This line needs correcti...
incorrect dimensions in data set
The code works technically. But after all the changes I made, it's not clear if it does what you want. This line needs correcti...
3일 전 | 0
| 수락됨
답변 있음
Index in position 1 is invalid. Array indices must be positive integers or logical values. "Ideas of fractal fractional using exponential kernel"
sum(((u(i+1-k,j)-u(i-k,j))/deleta) and k = 1:j For i <= j, the first index in the matrix u becomes <=0.
Index in position 1 is invalid. Array indices must be positive integers or logical values. "Ideas of fractal fractional using exponential kernel"
sum(((u(i+1-k,j)-u(i-k,j))/deleta) and k = 1:j For i <= j, the first index in the matrix u becomes <=0.
3일 전 | 0
답변 있음
Unable to perform assignment because the size of the left side is 5-by-75 and the size of the right side is 5-by-87.
Problem1() function Problem1 %% Parameters values delta1=0.1; Ha=0.1; d1=0.1; d2=0.1; beta=0.1; Pr=1; alpha= pi/4; S1=0.1; ...
Unable to perform assignment because the size of the left side is 5-by-75 and the size of the right side is 5-by-87.
Problem1() function Problem1 %% Parameters values delta1=0.1; Ha=0.1; d1=0.1; d2=0.1; beta=0.1; Pr=1; alpha= pi/4; S1=0.1; ...
3일 전 | 1
| 수락됨
답변 있음
Create an array with only the increasing values of a pressure time series.
I prefer a clean for-loop: a_monotone(1) = a(1); for i = 2:numel(a) if a(i) > a_monotone(end) a_monotone(end+1) = a(i)...
Create an array with only the increasing values of a pressure time series.
I prefer a clean for-loop: a_monotone(1) = a(1); for i = 2:numel(a) if a(i) > a_monotone(end) a_monotone(end+1) = a(i)...
4일 전 | 0
답변 있음
calculate the normal for a plane passing through more than three points
If the points in V1_in.mat all lie in a common plane, you can arbitrarily pick three points and define these points as P. If th...
calculate the normal for a plane passing through more than three points
If the points in V1_in.mat all lie in a common plane, you can arbitrarily pick three points and define these points as P. If th...
4일 전 | 1
답변 있음
Plotting of colormap for single value in x axis and multiple values in y axis
Use a contour plot https://uk.mathworks.com/help/matlab/ref/contourf.html with time and thickness as axes and temperature for ...
Plotting of colormap for single value in x axis and multiple values in y axis
Use a contour plot https://uk.mathworks.com/help/matlab/ref/contourf.html with time and thickness as axes and temperature for ...
4일 전 | 0
답변 있음
I want to solve this system of differential equations. Is there any code that can solve this?
Note that there is a discrepancy between your code and your graphics for the second ode. I took the version from the graphics ( ...
I want to solve this system of differential equations. Is there any code that can solve this?
Note that there is a discrepancy between your code and your graphics for the second ode. I took the version from the graphics ( ...
4일 전 | 0
| 수락됨
답변 있음
¿Qué significa la matriz que devuelve la función chol(A), si A es definida positiva pero no es simétrica?
From the documentation: If A is nonsymmetric, then chol treats the matrix as symmetric and uses only the diagonal and up...
¿Qué significa la matriz que devuelve la función chol(A), si A es definida positiva pero no es simétrica?
From the documentation: If A is nonsymmetric, then chol treats the matrix as symmetric and uses only the diagonal and up...
5일 전 | 0
답변 있음
Solving First order ODEs simultaneously
I'm quite sure there is no analytical solution for your system of ODEs since the right-hand sides are nonlinear in the unknown f...
Solving First order ODEs simultaneously
I'm quite sure there is no analytical solution for your system of ODEs since the right-hand sides are nonlinear in the unknown f...
5일 전 | 1
| 수락됨
답변 있음
How to make change in the algorithm to start and end at a same point?
Is this an attempt to code the Travelling Salesman Problem ? If yes: it doesn't matter where the tour starts and ends since it ...
How to make change in the algorithm to start and end at a same point?
Is this an attempt to code the Travelling Salesman Problem ? If yes: it doesn't matter where the tour starts and ends since it ...
5일 전 | 1
| 수락됨
답변 있음
Why I am getting "Matrix is singular to working precision"?
syms w x y z c1 lambda % system of linear equations eqn1 = 2*w + 3*x + y -11*z == 1; eqn2 = 5*w - 2*x + 5*y - 4*z == 5;...
Why I am getting "Matrix is singular to working precision"?
syms w x y z c1 lambda % system of linear equations eqn1 = 2*w + 3*x + y -11*z == 1; eqn2 = 5*w - 2*x + 5*y - 4*z == 5;...
5일 전 | 0
답변 있음
Trying to solve 2 dimensional Partial differential equation using Finite Difference Method
For those who might be interested in a finite volume code for the equation above. Skerdi Hymeraj asked for such code, but delet...
Trying to solve 2 dimensional Partial differential equation using Finite Difference Method
For those who might be interested in a finite volume code for the equation above. Skerdi Hymeraj asked for such code, but delet...
6일 전 | 0
답변 있음
Finding Imaginary roots of a function
As you can see from your code above, you choose tauinit = [0 0] for k = 501, and your function returns NaN for the real part of ...
Finding Imaginary roots of a function
As you can see from your code above, you choose tauinit = [0 0] for k = 501, and your function returns NaN for the real part of ...
6일 전 | 0
| 수락됨
답변 있음
How do I calculate the area of the graph area below the baseline? (matrix plot)
Your X-vector has two elements more than your Y-vector. After you have corrected this, you could use idx = find(Y<=214.5); val...
How do I calculate the area of the graph area below the baseline? (matrix plot)
Your X-vector has two elements more than your Y-vector. After you have corrected this, you could use idx = find(Y<=214.5); val...
7일 전 | 1
| 수락됨
답변 있음
Matlab creates same input values every time? Why?
Shouldn't the Matlab give me different values every time I open and close it? No. But you get different values if you call the ...
Matlab creates same input values every time? Why?
Shouldn't the Matlab give me different values every time I open and close it? No. But you get different values if you call the ...
7일 전 | 0
| 수락됨
답변 있음
How can I convert a 666by3 matrix into 666 row matrices?
If M is your 666x3 matrix, then Mi = M(i,:) is the i-th row of M and is of size 1x3. You don't need the conversion to 666 1x3 ve...
How can I convert a 666by3 matrix into 666 row matrices?
If M is your 666x3 matrix, then Mi = M(i,:) is the i-th row of M and is of size 1x3. You don't need the conversion to 666 1x3 ve...
7일 전 | 0
| 수락됨
답변 있음
Which boundary condition is coorect or what will be the correct alternative?
If you can estimate the heat transfer coefficient k between PVC material and roller, you could use -lambda_PVC * dT_PVC/dn = k ...
Which boundary condition is coorect or what will be the correct alternative?
If you can estimate the heat transfer coefficient k between PVC material and roller, you could use -lambda_PVC * dT_PVC/dn = k ...
7일 전 | 0
| 수락됨
답변 있음
How can I plot graph only specific coordinate values from a PDE solved using the FEM method?
For a stationary computation: https://uk.mathworks.com/help/pde/ug/pde.stationaryresults.interpolatesolution.html What is the ...
How can I plot graph only specific coordinate values from a PDE solved using the FEM method?
For a stationary computation: https://uk.mathworks.com/help/pde/ug/pde.stationaryresults.interpolatesolution.html What is the ...
8일 전 | 0