Community Profile

photo

Stephan


1,050 2017 年以降の合計貢献数

Knowledge means knowing where it is written...

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

連絡する

Stephan's バッジ

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

詳細を表示...

貢献した分野
表示方法

回答済み
Why does this for loop fail?
|vpasolve| may find more than one solution. Try to save your results in a cell array: ... Vrange = cell(1, length(Trange))...

1日 前 | 0

| 採用済み

回答済み
How to use fsolve with a variable parameter?
Define the values fot T21 that you want to calculate for. Then use a for loop and call your function inside the loop as often as...

1日 前 | 2

| 採用済み

回答済み
How to extract diagonal line data from image
The result for every line object contains an information about the angle of the line. This information can be used as input to <...

1日 前 | 0

回答済み
logspace equivalent and sin(x) [solved]
x = 10.^(1:3) % x=logspace(1, 3, 3) result = sum(A>0.5) % Number of elements in A bigger than 0.5

1日 前 | 1

| 採用済み

回答済み
coding error ode45
If possible try to avoid global variables: %define parameters %x is the number of cancer cells x0 = 1000; % c2 is the number...

1日 前 | 0

| 採用済み

回答済み
Remove noise from screw image
Replace the medfilt2 by a gaussian blur using imgaussfilt: %% read image and find points that should lie on a straight line A ...

1日 前 | 1

回答済み
Detect orientation of screw image
Using this script lets you know which angle to rotate. Then use this information to rotate the image and check the orientation a...

2日 前 | 1

| 採用済み

回答済み
Multiple output values on an if else loop
in every run of your loop you overwrite WeightF. Use indexing to avoid this: WeightF(i) = ... also using i for loop count is n...

2日 前 | 0

回答済み
Create a matrix that stores rows that are not from a random sample
A way smarter is using the ismember function - here is an example - all you need ist the last line, the first two lines are just...

2日 前 | 0

回答済み
how to Conversion transfer function to state space ...MIMO help me
<https://de.mathworks.com/help/control/ref/ss.html?s_tid=doc_ta#f4-373013 Convert Transfer Function to State-Space Model>

10日 前 | 0

回答済み
Ode45 change of a value in the equations
Do 2 calls of ode45. The first from tspan=[0 365]. Then use the final result from this as initial condition for the second call ...

13日 前 | 0

回答済み
how can i code energy balance eq in matlab
There is an analytical solution found by dsolve: syms T_Co(t) T_Ho(t) M_C M_H T_Ci T_Hi rho_C rho_H V_C V_H UA_i C_Pmc C_Pmh ...

14日 前 | 1

| 採用済み

回答済み
Reading file with pilcrow (paragraph) sign
This should help: >> A = '09.10.2019¶' A = '09.10.2019¶' >> A(end) = [] A = '09.10.2019' also maybe hel...

14日 前 | 1

| 採用済み

回答済み
Coupled differential equation to solve fluids
syms x(t) y(t) x0_t x1_t x2_t y0_t y1_t y2_t r0 r1 r2 f1 = x0_t == (-3+0.2*sin(0.2*t)); f2 = x1_t == (3+0.1*sin(0.1*t)); f3 =...

14日 前 | 1

| 採用済み

回答済み
Solve overspecified equation system
If you have symbolic toolbox, use: % This part builds a system to solve with fsolve syms u1 u2 up2 l1 l2 xa ya xpa ypa ap0 x ...

14日 前 | 0

| 採用済み

回答済み
Iterate between fixed numbers in an array and store into a matrix.
I suggest to reshape the array to have 250 rows. The most Matlab functions like mean, max, min, sum... work on the columns of an...

15日 前 | 0

回答済み
Delay differential equation of glucose insulin model
Another try, after reading a little bit about dde's: [t,y] = delayed; % plot results subplot(3,1,1) plot(t,y(1,:),'LineWid...

16日 前 | 0

回答済み
What is the version of Computer Vision Toolbox with Matlab R2019b?
MATLAB Version: 9.7.0.1216025 (R2019b) Update 1 MATLAB License Number: ********** Operating System: Microsoft Windows 10 Home ...

18日 前 | 1

回答済み
Using Ode45 to solve differential equation with time dependent variable
% call the nested function [t,dTempdt] = my_assignment; % plot the results plot(t,dTempdt) function [t,dTempdt] = my_assig...

18日 前 | 0

| 採用済み

回答済み
DOUBLE cannot convert the input expression into a double array.
During the first run of your loop U=0.0, which can be converted to double in line 144 and stored in SF(1). But in the second run...

18日 前 | 0

回答済み
How to get double array from string
>> A = str2num('[1,2,3:6,9,12:15]') A = 1 2 3 4 5 6 9 12 13 14 15

18日 前 | 0

| 採用済み

回答済み
subplot of trigonometric function
A = @(x) sin(x); subplot(3,1,1) fplot(A,[1 50]) B = @(x) cos(x); subplot(3,1,2) fplot(B,[1 50]) C = @(x) tan(x); subplot(...

19日 前 | 0

回答済み
Trouble with Nested Function - So I am trying to have 'equation1' return the outputs [G, H, K, C] but it doesn't recognize them... why? Any help is appreciated
% Variables to play with L1 = 1; L2 = 3; L3 = 4; L4 = 2.6 theta1 = 15; theta2 = 47.5; omega = 66; % Call your function...

19日 前 | 0

回答済み
making a graph in matlab
doc subplot small example: A = randi(50,10,2); subplot(3,1,1) scatter(A(:,1),A(:,2),'*r') B = randn(20,60); subplot(3,1,...

19日 前 | 0

回答済み
como crear un .gif
https://de.mathworks.com/matlabcentral/fileexchange/28766-animated-gif-creator

19日 前 | 0

回答済み
Error when solving symbolic equation in nested for loop
The first time your loop runs free of errors, but then your code is selfkilling, because you cast the symbolic variable b to be ...

19日 前 | 0

| 採用済み

回答済み
Error using horzcat Dimensions of matrices being concatenated are not consistent.
Do the following (i did for an example image on my computer): im = imread('*:\***\***\****.PNG'); im=double(im); m=mean(mean(...

19日 前 | 0

回答済み
How to use GlobalSearch to find global minimum
Try the following: ver Its output should look somehow like this: >> ver ----------------------------------------------------...

20日 前 | 0

| 採用済み

回答済み
do anyone know how to put all iteration of a for loop into a matrix?
clear all clc a=0; b=8; n=2; run=input('Input your number of iteration:'); i=(1:run); integral_matrix = zeros(numel(i),1);...

20日 前 | 1

| 採用済み

回答済み
Optimization with MATLAB solver's
Since we do not know what kind of problem you try to solve, all we can give is a general advice. If you follow the links you sho...

20日 前 | 0

Load more