Community Profile

# Torsten

Last seen: Today Actif depuis 2013

#### Content Feed

Afficher par

A répondu
How to find the orientation of the line of the intersection between two planes?
If you look at the next lines in Matt's code, he creates 100 points on the line. Thus in the modified code below, Pstart could ...

environ une heure il y a | 0

A répondu
BVP4c for three boundary set of boundary conditions
You didn't try to understand the code I provided for the similar problem, did you ? You still supply 6 initial conditions altho...

environ 5 heures il y a | 0

A répondu
implicit function ，differeation
syms x y(x) D2y eqn = x + sin(y)/2 - y == 0 d2eqn = diff(eqn,x,2) d2eqn_subs = subs(d2eqn,diff(y,x,2),D2y) D2y = solve(d2eqn...

environ 5 heures il y a | 0

A répondu
How to solve a second-order BVP with multiple boundary conditions?
How do I change the regions' definition and bvp function setup so that only 6 boundary conditions are required? For every equat...

environ 6 heures il y a | 0

| A accepté

A répondu
I defined a function that should give me an array with 3 elements, but when I use it it's giving me a lot more than 3.
Maybe you mean V0=10; mu=0.4 ; tf=1; [t,x,N] = lab1(V0,mu,tf); hold on plot(t,x) plot(t,N) hold off grid on functi...

environ 6 heures il y a | 1

| A accepté

A répondu
How to find the normal vector on a Plane in 4d and above?
It's a vector orthogonal to P2-P1, P3-P1 and P4-P1 (which all lie in the plane), thus e.g. P1 =[252716585.970010 -136769230.769...

environ 23 heures il y a | 0

| A accepté

A répondu
vpasolve unable to find solution of 6 simultaneous equations
A corrected version of the last part of your code would be Alt = 6562 * 0.3048; %Altitude (m) M = 6300; %Aircraft mass (kg) p...

environ 24 heures il y a | 0

| A accepté

A répondu
Multiplying two 3-dimensional matrices
A = rand(30,64,4); B = rand(64,30,4); for i = 1:size(A,3) C1(:,:,i) = conj(A(:,:,i))*B(:,:,i); C2(:,:,i) = B(:,:,i)*conj...

1 jour il y a | 0

A répondu
Attempting to perform the Runge-Kutta-Fehlberg Algorithm
A partial answer is given by the code below - your test ODE is solved correctly with fixed time stepsize. Errors in your origin...

2 jours il y a | 0

A répondu
How to pass extra parameters to ODE event function?
In the same way as you pass parameters to other functions: options = odeset('Events',@(t,y)myEventsFcn(t,y,params)); functio...

2 jours il y a | 1

| A accepté

A répondu
How to curve fit custom equation with sigma function
Look at the example Fit a Custom Model Using an Anonymous Function under https://de.mathworks.com/help/curvefit/fit.html to ...

2 jours il y a | 0

A répondu
Method of Lines 2D
This line is wrong T(2:99, 2:99) = y; because of the error message given.

3 jours il y a | 1

A répondu
How to solve Multivariate equations
%Scripte illustre les valeurs de phi et s %script Méthode Newton-Raphson (for 2 variables) clear, clc disp('NEWTON-RAPHSON M...

3 jours il y a | 0

| A accepté

A répondu
GPS user position loop , problem with matrix is singular
I think you forgot to close the k-loop before the definition of H. What is the matrix A ? It's not defined in your code.

3 jours il y a | 0

| A accepté

A répondu
Optimization single nonlinear equation to fit predicted data to actual data
"nonlcon" as the nonlinear constraint function from "fmincon" can constrain a*p1(i)^w * p2(i)^y * p3(i)^z as well, if this is wh...

3 jours il y a | 0

A répondu
Defining objective functions appropriately
Usually, you maximize the corresponding log-likelihood function. So it's a maximization problem. To maximize, use one of MATLA...

3 jours il y a | 0

A répondu
Global fitting two functions with shared parameters and variable, which fits two different data sets, respectively
Two data sets Adata and Bdata which are physically different properties and has values that are completely different in digits (...

4 jours il y a | 1

| A accepté

A répondu
Plot Population growth function with different values of b using for loop
f = @(t,b,d,N0) N0*exp((b-d)*t); t = 0:0.1:10; N0 = 400; b = [0.1 0.001].'; d = 0.001; plot(t,f(t,b,d,N0)) grid on

4 jours il y a | 1

A répondu
Maximum perpendicular distance between lines
x = [120 150 180 210 240 270 300 330 360]; % power y= [ 1.4000 1.3000 1.3000 1.4000 1.7000 2.400...

4 jours il y a | 0

| A accepté

A répondu
fzero with two variables and an array of elements in a loop
p.V1=1e-7; AA=@(y,T) 4e17.*exp(-25619./T).*(y-0.02).^2./(0.2-y).^3; BB=@(y,z,T) 5e7.*(0.6+2e-5.*T.*log(AA(y,T)./A(z,T))+1.154....

4 jours il y a | 0

| A accepté

A répondu
OPTIMIZATION BY GA toolbox

4 jours il y a | 0

A répondu
How do I get point between two high dimensional points?
0.5*(x1+x2) or in general: (1-lambda)*x1 + lambda*x2 for 0<=lambda<=1.

4 jours il y a | 0

| A accepté

A répondu
Avoid evaluation in vectorised conditional expressions
If your right-hand side contains expressions with x, you must replace x by x(idx1) resp. x(idx2).

5 jours il y a | 1

| A accepté

A répondu
How to reorientate the orientation of a mobile robot to a specific angle.
You mean change orientation_old = [2*pi*rand(1),0] to orientation_new = fliplr(orientation_old) ?

5 jours il y a | 0

A répondu
How to integrate a lognormal pdf
Use "logncdf" with the parameter values from "fitdist" and the input values xi1.

5 jours il y a | 1

| A accepté

A répondu
bvp4c for coupled interface boundary conditions
Read this carefully, and you will know how to set up your problem: https://de.mathworks.com/help/matlab/math/solve-bvp-with-mul...

5 jours il y a | 0

A répondu
How to check whether point is inside high dimensional convex hull?
https://de.mathworks.com/matlabcentral/fileexchange/10226-inhull

5 jours il y a | 1

| A accepté

A répondu
Obtaining a matrix of solutions with fsolve
Don't solve for all x values at once. Call "fsolve" in a loop and solve for each pair of combinations for (c1,c2,c3,c4) separa...

5 jours il y a | 1

A répondu
pdepe coupled boundary conditions
pl = pr = 0, ql = qr = 1 for both components u1 and u2. What's the problem ?

5 jours il y a | 0

A répondu
define a function in terms of an integral with variable limits
f1=@(t)3+2*cos(2*pi*t); f2=@(t)4-3*sin(2*pi*t); ff=@(t)-f1(t)-f2(t); gg=@(u,t)integral(ff,u,t); ww = @(u,t)f1(t).*exp(gg(u,t...

6 jours il y a | 0

| A accepté