
Sulaymon Eshkabilov
research interests: vibrations, optimal control, system modeling and simulation, mechatronics... coding
Statistics
RANK
74
of 273,084
REPUTATION
1,915
CONTRIBUTIONS
5 Questions
1,479 Answers
ANSWER ACCEPTANCE
60.0%
VOTES RECEIVED
211
RANK
of 18,445
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
How do i find the standard deviation of every row of a 12*18 cell array?
Her is one solution: C = load('mean.mat').z; S =C; for ii = 1:12 for jj=1:18 IDX = isnan(C{ii,jj}); ...
4 hours ago | 0
How can we re construct images with equation for temperature distribution. ?
Use gtext() to display the equation
20 hours ago | 0
Training and splitting a custom dataset
In this case, there are a few ways - cvpartition() and datasample() to split/partition the data into training and test data sets...
1 day ago | 1
movavg with custom type and weights
In this case, it is better to use filter() that gives a good moving average filter solution: A = 1:5; B = [.5 .5 ]; Out_A = f...
1 day ago | 0
why this code gives error?
Here is the corrected code: [color, I_map]=imread('C:\Users\User\Desktop\matlab\photo.png'); gray=rgb2gray(color); gray=doubl...
1 day ago | 0
Plotting a signal function
This can be also solved using griddedInterPolant(), e.g.: % Solution # 1. Y = [0 1 1 2 2 -1 -1 0 ]; % y data X ...
1 day ago | 0
How to draw a 3D phase plane using three differential equations with 5 parameters
First of all, you need to have the param values for alpha, beta, tau, gamma, delta and initial conditions for D1, D2, h. This ex...
1 day ago | 0
| accepted
How to multiply, in a loop, a function by a variable from a matrix and plot the change.
Here is the corrected code with some modifications to imptove the computational efficiency of the code. Note that x1 is not chan...
1 day ago | 0
A system of nonlinear equations with three variables
In your code, there are a few errors with matrix operations. It is more computationally to use vectorized approach instead of f...
2 days ago | 0
How to send variable signals in Simulink?
Simulink has [From Spreadsheet] block that can be used to read data from an external file - *.csv. Here is one example (DATA_re...
2 days ago | 0
| accepted
Simulink "MATLAB Function" block and extremum value
Note that there are a couple of important points here. (1) v input argument values have to be given/known to perform the calcula...
2 days ago | 0
Using vertcat to convert cellarray consisting of mutiple columns into an array of multiple columns
Here is how it can be attained: C1 = {randi(3, 3)}; C2 = {ones(3)}; C3 = {zeros(3)}; C4 = {randi(3, 3)}; C5 = {ones(3)}; ...
2 days ago | 0
Global error and local error of euler method
Yes, error increase if h step size increases. See this simple example: dy = y(t) with y(0) = 3; y(n+1) =y(n)+h*f(t(n), y(n)); ...
2 days ago | 0
vertical concatenate strings in msgbox
Here is the corrected code: v = VideoReader(filename); % Create Videoreader object %Get i...
2 days ago | 1
Automatically sorting years and quarters in a serial number
One of the easy solutions is to cretae a table array with variable names: Year (numerical) and Quarter (categorical array), e.g....
2 days ago | 0
Why won't my graph plot properly in the live script?
Your shown screenshot shows that you are viewing it in MLX- editor. If you hover your mouse over your plotted figure and click o...
2 days ago | 0
How to remove rows in a cell array?
Here is how you can do it: load('stations1.mat'); [Rs, Cs] = find(cellfun(@isempty, stations1)); stations1(Rs,:)=[];
3 days ago | 1
| accepted
How to code equation
Put both functions in plot() command or use hold on: m = 10e-3; a = 0.05; c = 0.1; x1 = @(t)(m/a)*exp(-(c/a)*t); x2 = @(t)...
3 days ago | 0
index error,exceeding array dimensions.
Here is the corrected code: Vet = randi([-9,9], 1, 7); dim = numel(Vet)+1; V = ordina(Vet,dim) function Vet_ord = ordina(Vet...
3 days ago | 0
Plotting as intregral the acceleration of a thing
This is how you can solve this exercise: N=100; T=11; dt=T/N; t=0:dt:T; F = [0 2 2 0 0 -2 -2 0]; % Accel...
3 days ago | 0
| accepted
Matlab Simulink Arduino package
You would need MATLAB Support Package for Arduino Hardware - see Arduino Support from MATLAB - Hardware Support - MATLAB & Simul...
6 days ago | 0
How to code equation
A couple of small errors have been corrected: m = 10e-3; a = 0.05; c = 0.1; x = @(t)(m/a)*exp(-(c/a)*t); t = linspace(0,1...
6 days ago | 0
| accepted
Calculate Wavelength from velocity FFT
the Matlab fcn fft() computes the complex valued discrete Fourier Transform values. Thus, there is an error in your code. To ob...
6 days ago | 0
how to solve this error?
Here is completely fixed code. There were several errors with inconsistent variable names, setting and solving symbolic equation...
6 days ago | 0
How to pull values from a variable to set as a new variable/column
If understood your question correctly, to read this data file and sort out its content, readtable() would be a good strating poi...
7 days ago | 0
Why is the FOR loop in my program producing empty matrices?
Here is a bit edited and revised version of your code: Ne=8; Ni=2; re=rand(Ne,1); ri=rand(Ni,1); a=[0.02*ones(Ne,1); 0.02+0.0...
7 days ago | 0
Plot a sinusoidal signal from an x(t) equation
You need to plot this exercise this way: Ts = 1/8; %seconds t = 0:Ts:1; x = @(t) cos(2*pi*t-(pi/2)); XX=x(t); plot(t, XX, ...
7 days ago | 0
| accepted
How do I let the user enter an equation that is then able to be used in abs() calcualtions
Use this small change by specifying the input argument (x) in your code: x = 0:0.001:1; fprintf(1,'For example: cos(x)\n'); ...
7 days ago | 1
| accepted
Keep Simulink Data Inspector plot settings between simulation runs
You should try to run this: Simulink.sdi.clearPreferences to get back to the default settings of Simulink. See help doc here...
7 days ago | 0