Community Profile

# Sulaymon Eshkabilov

Last seen: 3 days ago Active since 2019

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

All

#### Content Feed

View by

Elastic pendulum with runge kutta 4
Here are a few corrections made in your code: function [Theta,r]=RK4_L(m,k,l_0,R1,A1,R2,A2,h,t_end) t=0:h:t_end; % A1 = zer...

24 days ago | 1

How to make different character for each legend in my code?
There are a few different ways to do that. But before jumping to the plot options, in your code some of the loops can be elimina...

24 days ago | 1

I want to plot a function in 3D and to export as high quality
(1) To have a better resolution of the plotted data and control over the calc resolution, it is better to employ meshgrid() (2)...

24 days ago | 0

how to name the retrived images as the folder names
If understood your query correctly, you want to display the label variable in the title of a plotted data: title(["retrieved: +...

24 days ago | 0

Index in position 2 exceeds array bounds. Index must not exceed 1.
Here is a tentative solution with some pre-assumptions: for k=1:51 for jj=1:61 for ii=1:3 [Vpsim(k), Vssim(k)...

24 days ago | 0

Estimation & aproximate fourier coefficients
(1) Take a sample function or data to find estimated Fourier Series coeffs (2) Call Curve Fitting Toolbox (3) Obtain the coef...

24 days ago | 0

Index in position 2 exceeds array bounds. Index must not exceed 1.
What is the size of wavelet, ang?

24 days ago | 0

ode45 not solving past the initial conditions (reactor dynamics)
The problem is not only with T = 0 and K2 = 0, there must be some other pitfalls with the formulations. Please check the formula...

25 days ago | 0

| accepted

Why does the matlab command window display everything?
It can be attained quite easily using semicolon operator ";", e.g.: % This displays all simulation reults a = 3 for ii = 1:5 ...

25 days ago | 1

| accepted

what is this PID control method ?
It can be read from the screenshot that it is a parallel type of 1D PID for a continuous system.

25 days ago | 0

Finding the coordinates of nodes in a plot
If understood your question correctly, what you are trying to achieve is to locate the points in the plotted data. If so, a = 1...

28 days ago | 0

Problem with the use of “eig” in a Simulink Matlab function
Maybe you can try max(max(real(lambda))) instead of real(q_e) to see your Simulink model simulation even though your eigenvalues...

28 days ago | 0

Monte Carlo simulation examples

28 days ago | 0

matlab figure turns to gray
(2) To export all figure properties can be done via File --> Exort Set Up ... You may also consider to Gnerate a fcn file tha...

28 days ago | 0

I want to filter a .wav file in a second order low pass filtre
Note that lsim() is not a filter. It is a simulated time response of dynamic system to arbitrary inputs; simulated response data...

29 days ago | 0

How to programmatically distinguish between different block type?
Use instead this fcn command: BlockPaths = find_system('MY_model','Type','Block') % MY_model.slx is Simulink model that contai...

29 days ago | 0

When I try simple statistics function normpdf, it does not work.
Your MATLAB package does not have a toolbox - Statistics and Machine Learning Toolbox Thus, such err is prompted. Check what t...

29 days ago | 0

Plot overlapped points (Matlab 2020a)
Use smaller line width within the loop, e.g.: ... plot(Estimates(:),true_value(:),shape{k},'LineWidth',1.25); ...

29 days ago | 0

Interpolating various dimension matrix
If understood your question correctly, in this case - you're trying to interpolate with 1-by-54 of y using 2-by-54 of x. if this...

29 days ago | 0

Difference between simscape block and its help
No, the documentation is compatible with the block - [variable orifice] block of Simscape toolbox. It looks like that you are us...

29 days ago | 0

the code please for this quastion
(1) initialize the given linear system entries: A = [ ]; b = []; (2) solve it using one of the following MATLAB's fcns: x = li...

29 days ago | 0

append (a row) to the end of an excel sheet
This is how you can get it: FName = 'DATA.xlsx'; for ii=1:5 writematrix(magic(3), FN, 'WriteMode','append') end

2 months ago | 0

My first fzero calculates just fine but the one after gives me an error eval: TRY must be a string
There are a few inconsistencies in your codes, i.e., f is a fcn not defined as a fcn handle or fcn file. What is fgraf() fcn? ...

2 months ago | 0

Drawing random lines in rectangular
Some of the loops can be substituted with vectorization operations, i.e.: ... numbLines=30; theta = 2*pi*rand(numbLines, 1); ...

2 months ago | 0

how calculate difference 5 adjacent pixels?
Here is the corrected code (see: row vs. col): for x=2:row-6 for y=2:col-6 difference_of_intensity = abs(m(x,y) -...

2 months ago | 0

I`m new to matlab and I need some help about poles and tf?
Use root locus plot and step response simulations that will answer to your questions, e.g.: Sys=tf([1,17],[1,10,17,114]); pzma...

2 months ago | 0

Solving PDE using pde modeler
Use: meshgrid() and del2()

2 months ago | 0

How could I remove outliers in really small data?
Linear interpolation might be good to use here, e.g.: x = [-9.0000 -8.0000 -7.0000 -6.0000 -5.0000 -4.0000 -3.0000 ...

2 months ago | 0

| accepted