Community Profile

# Sulaymon Eshkabilov

Last seen: 2 Tage ago Active since 2019

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

All

#### Content Feed

View by

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

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

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

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

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

9 Tage 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

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

9 Tage ago | 0

How can i optimize the code and connect the functions?

9 Tage ago | 0

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

9 Tage ago | 0

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

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

10 Tage ago

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

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

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

10 Tage 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

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

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

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

12 Tage ago | 0

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

12 Tage ago | 1

Solved

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

12 Tage ago

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

12 Tage ago | 1

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

13 Tage ago | 0

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

13 Tage ago | 0

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

13 Tage ago | 0

Solved

How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

13 Tage ago

Solved

Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

13 Tage ago

Solved

MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

13 Tage ago