Community Profile

photo

Stephan


Last seen: Today
1,389 2017 이후 총 참여 횟수

Knowledge means knowing where it is written...

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

연락

Stephan's 배지

  • 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

모두 보기

참여 게시물
보기 기준

답변 있음
results are Fractional and long
double(Eint_AB1)

2일 전 | 1

| 수락됨

답변 있음
Matrix subtraction every two adjacent column
% sample data A = randi(10,5,3) % second col minus first and so on B = A(:,2:end) - A(:,1:end-1) % first col minus secon...

16일 전 | 0

답변 있음
Extracting subplots from a matrix
use a loop: % randomized data to illustrate: M = randn(16,80); for k = 1:size(M,1) subplot(4,4,k) plot(M(k,:)) e...

26일 전 | 1

| 수락됨

답변 있음
How to solve Multiple DOF Mass Spring Damper system and find/plot acceleration, velocity & displacement vs time
tspan=[0 10]; % Simulation time z0=[0;0]; % Initial conditions for forced vibration [t,z]=ode45(@forced_vibration,tspa...

약 1달 전 | 0

답변 있음
how to change 3d array to 2 d array
a = ['A'; 'B'; 'C'; 'A'; 'B'; 'C']; b = [1; 1; 1; 2; 2; 2]; c = ['N'; 'J'; 'N'; 'J'; 'N'; 'J']; T = table(a,b,c) T_new = uns...

약 1달 전 | 1

| 수락됨

답변 있음
Can someone explain why I am getting the error "Not enough input arguments (line 2)"?
x0=[1;1]; [x,f]=fmincon(@fun,x0,[],[],[],[],[],[],@mycon) z=peaks; surf(z); function f = fun( x ) f = 4./x(1)+9./x(2)+(...

약 1달 전 | 0

답변 있음
Using fzero for intesection and "integral" for area calculation
clear, clc, clear plot format short g=@(x)exp((-x.^2)./2); h=@(x) x.^2-4.*x; f=@(x) g(x) - h(x); x=linspace(-1,5,100); p...

약 1달 전 | 0

| 수락됨

답변 있음
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...

약 1달 전 | 0

답변 있음
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...

약 1달 전 | 0

| 수락됨

답변 있음
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...

약 1달 전 | 1

| 수락됨

답변 있음
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 ...

약 1달 전 | 0

| 수락됨

답변 있음
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.

약 1달 전 | 0

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

약 2달 전 | 1

답변 있음
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^...

2달 전 | 1

| 수락됨

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

3달 전 | 0

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

3달 전 | 0

| 수락됨

답변 있음
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...

3달 전 | 0

| 수락됨

답변 있음
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...

3달 전 | 0

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

3달 전 | 0

| 수락됨

답변 있음
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 ...

3달 전 | 0

답변 있음
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....

3달 전 | 0

| 수락됨

답변 있음
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 ...

3달 전 | 0

답변 있음
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...

3달 전 | 1

| 수락됨

답변 있음
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...

3달 전 | 0

답변 있음
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 ...

3달 전 | 0

답변 있음
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...

3달 전 | 1

| 수락됨

답변 있음
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 ...

3달 전 | 0

답변 있음
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(...

3달 전 | 1

| 수락됨

Load more