Community Profile

photo

Sulaymon Eshkabilov


Last seen: Today Active since 2019

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

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • Revival Level 4
  • Thankful Level 4
  • Commenter
  • Speed Demon
  • Draw Letters
  • Indexing V Master
  • Leader
  • CUP Challenge Master
  • Knowledgeable Level 4
  • Pro
  • 12 Month Streak

View badges

Content Feed

View by

Answered
How do I ensure the loop is executed for the duration of the counts i.e. 10 inside the loop?
In your code, there are a few crucial errs, i.e.: (1) no need to introduce a new variable range that creates conflict with mat...

circa 8 ore ago | 0

Answered
how to solve partial differential equation?
You can employ pdepe().

1 giorno ago | 0

Answered
Using find command to group data into bins
If I have undersood your question correctly, in this case, find() is not quite efficient. Thus, you can better create just indxe...

1 giorno ago | 0

Answered
How do I ensure the loop is executed for the duration of the counts i.e. 10 inside the loop?
There is an err in your code: ... xpred(k,:) = xsk; % Corrected line ...

1 giorno ago | 0

Answered
How can I split an array?
Vw1=Vw(:,1); Vw2=Vw(:,2); Vw3=Vw(:,3); Vw4=Vw(:,4);

4 giorni ago | 0

Answered
How can I delete data from a variable in a table?
In fact, it is not viable to delete only rows as dpb stated. Otherwise, if you'd like to remove all elements of specific rows,...

4 giorni ago | 0

Answered
Matlab function can't reach 2nd element of the input.
In your simulink model, a mutiplication block (?) has to have matrix multiplication operation. The elementwise multiplication is...

4 giorni ago | 0

Answered
How can i plot hyperspectral image data with kmeans?
Remove in your code line 1 and last one, e.g.: clear; data = multibandread('D:\Project\20201027_210119\cube_envi32.dat...

4 giorni ago | 0

| accepted

Answered
How to retrieve location values in a matrix
% e.g.: A = randi([0, 13], 4,6) A(3,1), A(4, 2), A(1,3)

4 giorni ago | 0

Answered
how can i solve integral equation ,symbolically methode by using a matlab
You can start by initiating the variables via syms, e.g.: syms t x y = expression1; f = expression2; Sol = solve(y+integral(...

11 giorni ago | 0

Answered
Fmincon solution is same as initial guess
THere are a couple of errs oin your fcn, i.e. y0, a,b,c,d not defined. Moreover, x is not defined. function J=cost_function(y0,...

13 giorni ago | 0

| accepted

Answered
Compare 2 string documents
The err is here: if AIS1 == AIS2 % ERR % Corrected one: if AIS1(i) == AIS2(i) Note that sizes of AIS1 and A...

13 giorni ago | 1

Answered
how many times is a value repeated in a table
N20=sum(tab.prob(:,1)==20); % Times of 20s N50=sum(tab.prob(:,1)==50); % Times of 50s N100=sum(tab.prob(:,1)==100); % Times of...

13 giorni ago | 0

| accepted

Answered
I coded this and it types me error
The loop operation canNOT be assigned twice in one for. Your code has to be in this format: for i=1:N % You can skip ste...

13 giorni ago | 1

| accepted

Answered
code for model online
Run this in your MATLAB command window: >> sm_cable_elevator Also, you can get it with: >> open sm_cable_elevator

13 giorni ago | 0

Answered
How to add error bars to a timeseries plot using datetime values
Maybe you should try to employ datenum(), e.g.: x= datenum(ts1); % See help doc how to get datenum() errorbar(x,y...

13 giorni ago | 0

Answered
How can i optimize the code and connect the functions?
One quick and easy suggestion is to employ readtable() instead of xlsread().

13 giorni ago | 0

Answered
how to add zero padding to text file to make 250x4
X = load("Test0.txt"); % Original data file x1 = zeros(250,4); % Zeros 250-by-4 XX = [x1;X]; % All d...

14 giorni ago | 0

Answered
Convert older simulink model to newer version
Open the original model in Simulink 2019b and save it as 2019b model (*.slx or *.mdl).

14 giorni ago | 0

Solved


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

14 giorni ago

Answered
HAVING TROUBLE WITH PLOTTTING
% Here is a slightly edited/fixed version that works ok. while(1) [val,Principal,Number,Interest] = inputvalues; if(...

14 giorni ago | 0

Answered
Save number of iterations in a for loop
An easy solution is: n=10; for i=1:n tspan=[0 max(EXP.t)]; MAT=[SYSTEM.m_BW(i) SYSTEM.w_L(i) SYSTEM.w_K(i) SYSTEM...

14 giorni ago | 0

| accepted

Answered
How can i take multiple images from a folder (which is almost 800!) and perform specific operation?
You'd need to employ for or while loop with the following loop structure: M_FOLDER = '???\MATLAB'; % Directory where all image ...

14 giorni ago | 1

Answered
Plotting points on a graph every 15 minutes
You had better use timer class: https://www.mathworks.com/help/matlab/ref/timer-class.html

14 giorni ago | 0

Answered
how can i plot the amplitude spectrum of these signals
Fs = ... % Sampling freq t = ... % Time F = 0.25+cos(2*pi*50*t); L = length(F); N = 2^nextpow2(L); Y = f...

15 giorni ago | 0

Answered
When creating a table, how do I specify the dimensions of a particular variable?
It is better to create a zero matrix and then assign a table variable, e.g.: Nrows=10; Ncols=8; A = zeros(10, 8); my_table ...

16 giorni ago | 0

Answered
how to calculate mean square error ?
You have already computed in the last line of the code. Maybe you meant root mean square error. If so, MSE = mean(fit_err.^2); ...

16 giorni ago | 0

Answered
Creating a simulink model to analyse the harmonics on the substation
You can model your exercise simulation model in combination MATLAB+Simulink. Simulink modelling is strainghtfoward. If you don't...

16 giorni ago | 1

Solved


ABBREVIATION
Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...

17 giorni ago

Load more