Community Profile

photo

Mark S


Last seen: 29 días ago
13 total contributions since 2020

Mark S's Badges

  • Thankful Level 1

View details...

Contributions in
View by

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: (...

alrededor de 1 mes 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([...

3 meses 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([2],[1 2]) G(s) And this is my step input signal: R(s)= 2/s How can i com...

3 meses 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...

3 meses 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?

3 meses 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?

4 meses 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); [...

4 meses 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...

8 meses 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...

11 meses 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...

11 meses 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 = ...

11 meses 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...

11 meses 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])...

12 meses ago | 1 answer | 0

1

answer