Community Profile

photo

Sulaymon Eshkabilov


Last seen: Today
419 total contributions since 2019

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

Sulaymon Eshkabilov's Badges

  • Thankful Level 1
  • 12 Month Streak
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver
  • Revival Level 3
  • Knowledgeable Level 3
  • First Answer

View details...

Contributions in
View by

Answered
How to replace string by double in cell array
D1D=readtable('test.xlsx'); D1D.cc=str2double(D1D.cc);

7 días ago | 0

| accepted

Answered
How to replace string by double in cell array
use a command: double() To get back your strings use the command: char()

7 días ago | 0

Answered
Getting output as an array from while loop
Here is one of the viable solutions: a=0; x = input('Enter the number : ') ii=0; while x<100 ii=ii+1; if rem(x,2)==0...

8 días ago | 0

| accepted

Answered
Implement Module Predictive Control on Mathworks example
Launch Simulink, Open Library: Model Predictive Control toolbox/Automated Driving and drag and drop the block - daptive Crui...

8 días ago | 0

Answered
Automaticlly converting negative values to 0
Use a command int8() or int16() to store your processed data that resolves your task. e.g.: a= -89; b=int8(a)

8 días ago | 0

| accepted

Answered
How to convert 2d matrix to 4d matrix?
It is going to be something like that: X(:,:,:,1)=a; X(:,:,:,2)=b; X(:,:,:,3)=c; X(:,:,:,4)=d;

8 días ago | 0

Answered
Automaticlly converting negative values to 0
Store you data in int8 or int16

8 días ago | 0

Answered
Automaticlly converting negative values to 0
uint8 cannot store -89 and thus, 0 Thus, store your data in int8 or better int16.

8 días ago | 0

Answered
How do I split cells in an array and save data into a bigger cell array?
Here is the alternative solution: arr = {'hello i welcome you';'what is your name';'nice to meet you'}; for i = 1:length(arr...

8 días ago | 0

Answered
How do I split cells in an array and save data into a bigger cell array?
Here is one of the possible solutions: arr = {'hello i welcome you';'what is your name';'nice to meet you'}; output = { 'hel...

8 días ago | 0

Answered
dsolve error (simultaneous differential equations)
Here is the answer: clear all close clc m = 10; k = 1000; u0 = 0.01; syms y1(t) y2(t) Dy1=diff(y1); Dy2=diff(y2); D2...

8 días ago | 0

| accepted

Answered
How can I plot the signal in time domain before and after filtering?
See this example shows everything what you'd need: https://www.mathworks.com/help/matlab/ref/filter.html

13 días ago | 0

Answered
Poisson Process for 500 variates
Here is the alternative solution: T = 1; lambda = 12; t = linspace(0, T, 500); k=randi([1,10], 500); f = (lambda.^...

13 días ago | 1

Answered
Poisson Process for 500 variates
Why not to use MATLAB's built in fcn: poissrnd()

13 días ago | 0

Answered
How do I show which variable is being plotted while using hold?
Here is one of the possible easy solutions: hx = phi_t * B hy = C * phi_t * B hx1 = []; hx2 = []; hx3 = []; hx4 = []; h...

18 días ago | 0

Answered
How to draw a table?
use a command - array2table, e.g.: >>array2table(DATA, 'VariableNames', {'Mode_No','Intact','Damaged', 'Frequency'})

18 días ago | 0

Answered
discretize stae space model for Kalman filter - Runge-Kutta 4th order
Check your equation that has some sign (-,+) problem (s). Here is a much simpler code: Vin=10; w=2*pi; Ts=w/(2*pi*2000); t...

18 días ago | 0

| accepted

Answered
Why I got the error "Operator '-' is not supported for operands of type 'struct'."?
Answer: X= X.data(:,1); TempK = ((X1-32)*5/9)+273.15;

18 días ago | 0

Answered
Matlab workspace not showing the cell contents
Hi, It can be explained in a simple way. type in the following commands and try access the created cell array HG as shown in ...

18 días ago | 0

Answered
How to make a curve line through data points on surface 3D (curve line fitting in 3D)
Hi, Since you are plotting 3D plot of data, probably you're looking for a surface fit model. Then it is easy to use: cftool a...

18 días ago | 0

Answered
problem with automized add_block destinations
you are accessing to your stored created block names in strings via their index numbers. That is it.

18 días ago | 0

Answered
Matlab workspace not showing the cell contents
Hi, In the first picture you have accessed the matrix (variable called: f: 1x256 ) not a cell array see the hilighted. In the...

18 días ago | 0

Answered
How to print some text in a txt file in another folder?
use: cd('../') That moves one level up. Don't forget to hit accept :)

18 días ago | 0

| accepted

Answered
How to print some text in a txt file in another folder?
Please try this code: remove the created folder solutions: if ~exist('Solutions', 'dir') mkdir('Solutions') cd('./...

18 días ago | 0

Answered
How to print some text in a txt file in another folder?
Hi, You are almost there except for one missing point, see below: if ~exist('Solutions', 'dir') mkdir('Solutions') c...

18 días ago | 0

Answered
can u help me about square pliss, iam using matlab 2018a
use this command: s1=square(2*pi*5*t); % MATLAB is case sensitive!

alrededor de 1 mes ago | 0

Answered
Is there a function I can use to find out when a statement is true?
in your case, if ... else ... end structure should work very well.

alrededor de 1 mes ago | 0

Answered
Speed up for loop
To process date data format is slow. Thus, you can convert all into a serial date number using datenum() that shall speed up the...

alrededor de 1 mes ago | 0

Load more