Community Profile

photo

Sulaymon Eshkabilov


Last seen: 1 day ago 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 can I split an array?
Vw1=Vw(:,1); Vw2=Vw(:,2); Vw3=Vw(:,3); Vw4=Vw(:,4);

1 day 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,...

1 day 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...

1 day 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...

1 day 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)

1 day 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(...

9 days 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,...

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

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

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

11 days 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

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

11 days 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().

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

11 days 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).

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

11 days ago

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

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

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

11 days 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

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

13 days 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 ...

13 days 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); ...

14 days 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...

14 days ago | 1

Solved


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

14 days ago

Answered
How to display subplot with multiple image with its own x and y axes ?
subplot(2,2,1); imshow(Newforegnd); % Use this command axis on ...

14 days ago | 1

Answered
Trial and error help needed
You can start by studying how to employ some MATLAB's built in fcns, such as, hexToBinaryVector()

14 days ago | 0

Answered
How to plot the fft if we are having the data ?
Hi, Here is a correct and complete code for fft calc and plot with your data given in .xls data file: clearvars; clf; D=rea...

14 days ago | 0

Answered
Lowest value of n for a fibonacci series
f(1)=a; f(2)=b; k=2; while f(k)<1e5 f(k+1)=f(k-1)+f(k); k=k+1; end fprintf('The final value is %d \n', f(end))

14 days ago | 0

Load more