Community Profile # Sulaymon Eshkabilov

Last seen: 2 giorni ago Active since 2019

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

#### Statistics

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

View by

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

4 giorni ago | 0

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

5 giorni ago | 0

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

5 giorni ago | 0

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

5 giorni ago | 0

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

7 giorni ago | 0

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

7 giorni ago | 0

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

7 giorni ago | 0

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

7 giorni ago | 0

| accepted

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)

7 giorni ago | 0

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

15 giorni ago | 0

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

17 giorni ago | 0

| accepted

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

17 giorni ago | 1

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

17 giorni ago | 0

| accepted

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

17 giorni ago | 1

| accepted

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

17 giorni ago | 0

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

17 giorni ago | 0

How can i optimize the code and connect the functions?

17 giorni ago | 0

X = load("Test0.txt"); % Original data file x1 = zeros(250,4); % Zeros 250-by-4 XX = [x1;X]; % All d...

17 giorni ago | 0

Open the original model in Simulink 2019b and save it as 2019b model (*.slx or *.mdl).

17 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...

17 giorni ago

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

17 giorni ago | 0

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

17 giorni ago | 0

| accepted

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

18 giorni ago | 1

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

18 giorni ago | 0

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

19 giorni ago | 0

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

20 giorni ago | 0

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

20 giorni ago | 0