Community Profile # Mark S

##### Last seen: Today
20 total contributions since 2020

#### Mark S's Badges

View details...

Contributions in
View by

Question

Is it possible to calculate time constant and DC gain for RC circuit
Hi, is it possible to to calculate time constant and DC gain for a given RC circuit? I have here this matlab code and I wa...

3 days ago | 1 answer | 0

### 1

answer

Question

Scatter-plot of data in which the cluster membership is coded by colors.
Hello, I have created a dendrogram of my given data. NumCluster = 1566; dist = pdist(alldata, 'euclidean'); GroupsMatrix = li...

17 days ago | 1 answer | 0

### 1

answer

Question

Vary k-nearest neighbor classification
Hello, I have written this little model for k-nearest neighbor classification: knn_modell = fitcknn(cars, origin, 'NumNeighbors...

19 days ago | 1 answer | 0

### 1

answer

Answered
Is it possible to evaluate the differential equation from a simulink model?
Ah ok. Then the Simulink model has been build from two differential equations. I have understood it now. Thanks for the help.

22 days ago | 0

Question

Is it possible to evaluate the differential equation from a simulink model?
Hello, I want to find the differential equation from the given simulink model: I am not sure if i can get a differential equ...

23 days ago | 2 answers | 0

### 2

answers

Answered
Simulink build model from differential equation
Can anyone tell me what I am doing wrong here

1 month ago | 0

Question

Simulink build model from differential equation
Hi, I am very new in simulink. I have build a simulink model from the given equation: Input is the voltage and output should ...

1 month ago | 2 answers | 0

### 2

answers

Question

Find minimum of single-variable function
Hi, what expression is calculated by the following command in Matlab? Code: fminbnd(@(x) (sin(x).^2-1),0,pi) Minimum of: (...

5 months ago | 1 answer | 0

### 1

answer

Question

Plot transfer function with exponential function
Hi, how can I plot this tf in Matlab: G(s)= 4e^-s/(s^2+4s+4) I have tried this, but I am not sure if this is ok: sys = tf([...

6 months ago | 2 answers | 0

### 2

answers

Question

How can i plot transfer function with step signal input?
Hello, I have this transfer function: sys = tf(,[1 2]) G(s) And this is my step input signal: R(s)= 2/s How can i com...

6 months ago | 1 answer | 0

### 1

answer

Question

Plot 4 diagrams in one plot
Hi, I want to plot 4 diagrams in one plot. Actual i have two plots with 4 different values: clear ;clc mu=[0 0.1 1 10]; tsp...

7 months ago | 1 answer | 0

### 1

answer

Question

State space models are same?
Hi, if I have two state space models, how can i calculate if these two state space models represent the same plant?

7 months ago | 2 answers | 0

### 2

answers

Question

Damped function second low
Hi, how can I find a second low of a damped function in Matlab? Do i have to use fzero?

7 months ago | 1 answer | 0

### 1

answer

Question

How can I stop ode45
Hi, how can I stop ode45 when the function is on the lowest point: I have tried that. options = odeset('Events', @deep); [...

7 months ago | 1 answer | 0

### 1

answer

Question

Maximum Drawdown calculate and plot as a chart
Hello, i want create a skript which calculate the drawdown of a stock like this: https://twitter.com/charliebilello/status/11261...

11 months ago | 0 answers | 0

### 0

answers

Question

Loop and write into a cell
Hello, i wanna accumulate the data in my script with a loop l=[1,2,3,4,5,6,7,8,9,10] S=[42600 35000 91850 20000 41060 30000 63...

1 year ago | 1 answer | 0

### 1

answer

Question

Error in my function
Hey, i wanna make a time vector of my data. I have written this function: function [ data_out_time ] = create_time( header_out...

1 year ago | 0 answers | 0

### 0

answers

Question

Plot Data into a Histogramm
Hello, i have written this script: a = exprnd(200, 100, 1); small = find( a < 57 ); a ( small ) = 57; classification = ...

1 year ago | 1 answer | 0

### 1

answer

Question

Gantt Chart on Matlab
Hello, i have this Matrix: 1 0 11 2 11 24 3 24 40 4 40 60 5 60 80 My actual plot look like...

1 year ago | 2 answers | 0

### 2

answers

Question

Sortrows_function of a Matrix
T=[1:10;40,43,18,43,34,18,23,31,44,38]'; T=ShortestTime(T) T=LongestTime(T) function [c]=ShortestTime(T) c=sortrows(T,[2 1])...

1 year ago | 1 answer | 0

answer