Community Profile # Sulaymon Eshkabilov

Last seen: 1 day ago Active since 2011

research interests: vibrations, optimal control, system modeling and simulation, mechatronics... coding

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Simulink - How to extract the time when the signal is on?
If understood correctly, you want to find out time signals when the response (output) values were non-zero, right? If so, then ...

1 day ago | 0

simulation of mosfet feedback closed loop circuit using pid
MATLAB has pidtune() function that can be used in your execise - SEE THIS DOC Simulink has single-input and double-input PID co...

2 days ago | 0

How to plot state/country boundaries over a contour map?

2 days ago | 0

I need help due to unrecognized function or variable ' x ' error, please.
Put this code in one M-file or MLX editor window, and hit ctrl+enter x = linspace(-10,10); f=randi(15, size(x)); ANSWER = dd(...

3 days ago | 0

I need help due to unrecognized function or variable ' x ' error, please.
Here is how to call a function x = linspace(-10,10); f=randi(15, size(x)); ANSWER = dd(x,f) function a = dd(x, f) n = lengt...

3 days ago | 0

terminate loop diverging to inf
There is one critical point is the eps (MATLAB built in var ==> not to use) = 1e-6 is not met. The smallest abs value of z is 0....

4 days ago | 0

How to plot multi-line graph for nested loop?
From a quick scan the following inconsiostencies are spotted in your code. (1) d_exp is not pre-defined but used in the loop....

4 days ago | 0

If you want to use a user prompt then it should be in this way (Note that just numerical input prompt won't work): Try: G3N = ...

4 days ago | 0

how can I calculate a vehicle's axle load distribution and center of gravity changes?
(1) Derive all calculation equations on weight distribution, in other words, the relationship between distributed loads and dist...

5 days ago | 1

Loglikelihood calculation for fitnlm
See this example of MATLAB help documentation for nonlinear logistic regression.

5 days ago | 0

Besides of using 'k' for tf, there is another syntax error in T2. See the corrected core here: clear, clc G1=tf(,[1 0 5]) ...

5 days ago | 1

Not enough input arguments ode45
Don't use the MATLAB's built in function names as a variable name - cd. Why to display all iterations that can be also skipped ...

6 days ago | 0

Difference between regress function and basic fitting wizard
They both produce the same results: R2 is the same for both. See e.g.: A = randi([-13, 13], 20, 5); B = randi([-130, 130], 20,...

6 days ago | 0

how to remove drift from noisy acceleration data
There are a couple of critical issues in your code. (1) Sampling frequency is 100 Hz and NOT 1000 Hz. and (2) Low-pass filter sh...

7 days ago | 0

"Not enough input arguments" error
Variables T and M are also not specified. See how it can be executed: x = 0:13; u0 = ones(size(x)); backward_heat(x,u0) fu...

7 days ago | 0

| accepted

plot the fundamental harmonic wave
Here are two MATLAB fcns (bandpass() and fft()) which can be applied to solve your exercise.

7 days ago | 0

Using a string variable as a variable name in an equation.
If understood your question correctly, is this what you are trying to solve for: Diff_Value = 3; ELEC = [61 62 64 65 67 68 ...

7 days ago | 0

How do I make a function work?
There are a couple of critical points: (1) Don't use MATLAB's builtin fucntion names for your own functions that corrupts MATLA...

10 days ago | 0

I'd like to draw a graph of mechanical vibration with a matlap....
An initial step will be looking at the Runge-Kutta method Runge-Kutta and its implementation in MATLAB - writing a code like THI...

11 days ago | 0

Change of frequency content after using the retime function
Here is how to solve this issue: load('question_data.mat') dt1 = seconds(test_table.time(2) - test_table.time(1)); dt2 = 0.01...

11 days ago | 0

Converting 1000 plots in density distribution
Have you seen MATLAB's pdf() function - DOC explains and shows in examples

11 days ago | 0

| accepted

what function should I use to download a text file (.txt) ?
It really depends what is in the *.txt file and how the data formatted (numerical, text or mix, columnwise, rowise, etc.). See t...

11 days ago | 0

Combine two MATLAB figures with two different y axes
Is this what you want to obtain: fig1 = openfig('qualitatixe Analyse VR ACCx_31_35sek.fig'); fig2 = openfig('qualitatixe Analy...

11 days ago | 0

| accepted

How to store extracted coefficient values from curve fitting of multiple .txt files in index arrays?
It can be done something like this way: Folder = 'C:\Users\...'; % Directory where the files are residing F_Pat = fullfile(F...

13 days ago | 0

Matlab curve fitter error with exponential form with 2 terms
It is better to fit with log fit. % Interior Square Footage sqftL = [1500 1600 1750 1930 2250]; sqftUtilityL = [0 0.25 0.5 0....

17 days ago | 0

Matlab curve fitter error with exponential form with 2 terms
It does work very well if the initial conditions are given. Here is how it can be attained: % Interior Square Footage sqftL = ...

17 days ago | 0

Scope in Simulink - how to "grab" and "drag" cursors
Have you tried to use drop-down option in the Scope block. With a single click on the zoom option (the option is activated), a u...

17 days ago | 0

How to Extrapolate griddata for contour plot?
Here you can find an appropriate 3rd party fcn called inpaint_nans() that can be employed to subs NaNs in zb. Note that the MATL...

17 days ago | 0

| accepted