Community Profile

photo

Stephan


Last seen: Today
1.381 total contributions since 2017

Knowledge means knowing where it is written...

Interested in:
- Optimization
- Mathematical Modelling
- Improvement of my programming skills

Contact

Stephan's Badges

  • 24 Month Streak
  • Guiding Light
  • Thankful Level 2
  • Quiz Master
  • Introduction to MATLAB Master
  • Speed Demon
  • Personal Best Downloads Level 1
  • First Review
  • First Submission
  • Knowledgeable Level 4
  • Revival Level 3
  • Creator
  • First Answer
  • Commenter
  • Promoter

View all

Contributions in
View by

Answered
solving non linear equations
Your code works properly for me. To access the the results - for example for the solution if N in the third iteration use: >> s...

3 giorni ago | 0

Answered
how to conver .csv data class from table to double
If it is only numeric data and a and b are of the same dimensions this should work: c = a{:,:} + b{:,:} for example: a1 = ran...

4 giorni ago | 0

Answered
How to convert time stamp 11:21:17.155 into seconds in MATLAB??
format longG a = '11:21:17.155'; b = seconds(duration(a,'InputFormat','hh:mm:ss.SSS')) results in: b = 4...

4 giorni ago | 1

| accepted

Answered
numeric integral, symbolic function, whats wrong here?
clc clear syms t; rho = exp(sin(t)); theta = 2*exp(sin(t)); phi = 3*exp(sin(t)); rho_dot = diff(rho); theta_dot ...

4 giorni ago | 0

| accepted

Answered
Supplied objective function must return a scalar value. ERROR in fmincon
J is a 1x6 vector, but should be a scalar. You have to find out why and fix this.

4 giorni ago | 0

Answered
Bvp with unknown parameter
Try this using a good initial guess: <https://de.mathworks.com/help/matlab/math/solve-bvp-with-unknown-parameter.html>

17 giorni ago | 1

Answered
Matrix symbolic calculation doesn't simplify expressions
try simplify - here is an example with your expression: syms w E = eye(3) * - (2^(1/2)*((2^(1/2)*w*1i)/2 - 2^(1/2)/8))/2 + (2^...

29 giorni ago | 1

| accepted

Answered
char to vector conversion. using matrix of chars (16x128)
str2double or str2num should work for this.

circa 2 mesi ago | 0

Answered
Keep getting 'ans' output in Matlab function
Call it this way: [outResult, logoutResult] = file1(scalar, genvec)

circa 2 mesi ago | 0

| accepted

Answered
matrix manupulation and reading diagonally
This function may help: M = [13,10,5,2;7,14,11,6;3,8,15,12;1,4,9,16] MyResult = readDiag(M) function R = readDiag(M) R = c...

circa 2 mesi ago | 0

| accepted

Answered
How to cite only part of a vector in an equation?
One possible way: You could use findgroups in combination with splitapply. For example, a JaneDoe group would be a member of th...

circa 2 mesi ago | 0

Answered
how to train image?
A good starting point maybe here: https://de.mathworks.com/help/deeplearning/getting-started-with-deep-learning-toolbox.html?s_...

circa 2 mesi ago | 0

| accepted

Answered
How can i use toeplitz in cell arrays?
G = cell(1,2); G{1} = ones(2); G{2} = 2*ones(2); c = [G{1} G{2}]; r = [G{1} zeros(2)]; result = toeplitz(c,r) results ...

circa 2 mesi ago | 0

Answered
Solving equation for a value of x
You can use polyder, that calculates the derivative of a polynomial and then you can calculate the result at x=20 using polyval....

circa 2 mesi ago | 0

| accepted

Answered
Index in position 1 is invalid PID Controller
When you run this the first time you first call the inbuilt function tf and then later you create a variable, which is named tf ...

circa 2 mesi ago | 0

Answered
min- imum number of coins required to pay
You have some issues in your if-else structure, but also you have a numerical problem - use uint datatype to avoid this: [NumCo...

circa 2 mesi ago | 1

| accepted

Answered
Problems using NVIDIA GeForce RTX 3090 for Deep Learning
Even if you don't like it, the best and probably most up-to-date answer to this question is: https://de.mathworks.com/matlabcen...

circa 2 mesi ago | 0

Answered
Show every step of lsqnonlin won't work
I think you look for something like this: phi1=1:((2*pi/10.71)):2*pi; r = -0.5 + (0.5 + 0.5) * rand(1,10); xrand ...

circa 2 mesi ago | 0

Answered
4-D uint8 , what does it mean?
There is a 2D for height and width of the video, which shows the resolution, the 3rd D is for example is of size 3 for RGB or of...

circa 2 mesi ago | 1

| accepted

Answered
Solve nonlinear equation using ODE45 function with different initial conditions
Corrected: %% Main Script L = 1; g = 9.81; h = 0.25; t = [0 5]; A = [0 1;(g/L) 0]; B =[0 1]'; Ics = [pi,0;pi/2 0;pi/5 ...

circa 2 mesi ago | 0

Answered
How can i write a Objective function in vectorized form for GA optimization toolbox when the Objective function has many varialbess?
str1 = ("x(:," + (1:100) + ") .*"); str2 = ("x(:," + (101:200) + ") .*"); str3 = ("x(:," + (201:300) + ") +"); str = vertcat(...

circa 2 mesi ago | 1

| accepted

Answered
Error using optimoptions (Reference to non-existent field 'TolFunValue')
For *|optimoptoptions|* the correct option is *|FunctionTolerance|*. The usage of *|TolFunValue|* is the equivalent option when ...

circa 2 mesi ago | 1

| accepted

Answered
Alternative to the function "findpeaks for the Version R2012b
Check FEX: https://de.mathworks.com/matlabcentral/fileexchange/25500-peakfinder-x0-sel-thresh-extrema-includeendpoints-interpol...

circa 2 mesi ago | 0

| accepted

Answered
curly brackets system of equations via LaTeX
figure title({'$sin(x-y)-xy+1=0$','$x^2-y^2=0.75$'}, 'Interpreter','LaTex')

circa 2 mesi ago | 1

Answered
Global optimization: transfer variables to non-linear constraints
nonlcon = @(x)unitdiscc(x,a,b,c,d...)

circa 2 mesi ago | 0

| accepted

Answered
Convert single data to double
You might want to use <https://de.mathworks.com/help/matlab/ref/squeeze.html *|squeeze|*> and <https://de.mathworks.com/help/mat...

circa 2 mesi ago | 0

| accepted

Answered
Help With plotting 3D Graph
Use: t=t.'; then call Result = psi(t) Also make sure that t is length needed --> here 2000

circa 2 mesi ago | 0

| accepted

Answered
Importing Engine Map Variables
T = readtable('C:\YOUR_PATH_NAME_HERE\Veri-MATLAB.xlsx') RPM = T{2:end,1} Power = T{1,2:end} Data = T{2:end,2:end} subpl...

circa 2 mesi ago | 1

| accepted

Answered
differentiation in matlab of two functions
syms a(theta) p q A eq1 = a(theta)==exp(2*pi*1i*A*[cos(theta);sin(theta)]) eq2 = theta==atan(p/q)+pi Deq1 = diff(eq1,thet...

circa 2 mesi ago | 0

Load more