Community Profile

photo

Torsten


Last seen: Today Active since 2013

Statistics

  • Most Accepted 2022
  • Explorer
  • Master
  • 36 Month Streak
  • Revival Level 2
  • Knowledgeable Level 5
  • First Answer

View badges

Content Feed

View by

Answered
How do I make a column vector to add to my original matrix?
What about B = [4;-1;0] ?

16 hours ago | 1

| accepted

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

18 hours ago | 2

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

21 hours ago | 0

Answered
Adding more boundary conditions to pdepe
So my question is that is it possible to set BCs at a and b. It depends what boundary conditions you want to set. If it is simp...

21 hours ago | 0

| accepted

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

22 hours ago | 0

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

22 hours ago | 0

| accepted

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

22 hours ago | 1

| accepted

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

1 day ago | 0

| accepted

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

1 day ago | 0

| accepted

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

2 days ago | 0

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

3 days ago | 0

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

3 days ago | 1

| accepted

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

3 days ago | 0

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

3 days ago | 1

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

4 days ago | 0

| accepted

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

4 days ago | 0

| accepted

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

4 days ago | 0

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

4 days ago | 0

Answered
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 days ago | 1

| accepted

Answered
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

5 days ago | 1

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

5 days ago | 0

| accepted

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

5 days ago | 0

| accepted

Answered
OPTIMIZATION BY GA toolbox
https://de.mathworks.com/help/gads/gamultiobj.html

5 days ago | 0

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

5 days ago | 0

| accepted

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

6 days ago | 1

| accepted

Answered
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) ?

6 days ago | 0

Answered
How to integrate a lognormal pdf
Use "logncdf" with the parameter values from "fitdist" and the input values xi1.

6 days ago | 1

| accepted

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

6 days ago | 0

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

6 days ago | 1

| accepted

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

6 days ago | 1

Load more