Community Profile

photo

Sulaymon Eshkabilov


Last seen: ein Tag vor Aktiv seit 2019

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

Statistics

All
  • MATLAB Mini Hack Participant
  • MATLAB Central Treasure Hunt Finisher
  • Guiding Light
  • Revival Level 4
  • Commenter
  • Speed Demon
  • Draw Letters
  • Thankful Level 5
  • Leader
  • CUP Challenge Master
  • Knowledgeable Level 5
  • 12 Month Streak

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
how to use partial derivative in fraction form in latex intepreter
Here is one simple example on how to use latex to display partial derivatives, e.g: fplot(@(t)exp(sin(2*t)), [-pi, pi]) title(...

etwa 12 Stunden vor | 0

Beantwortet
How to read all sheets from an excel and output them
An alternative solution to this exercise with MATLAB recommended functions is: clf FName ='Exercise1.xlsx'; S_names = sheetna...

etwa 14 Stunden vor | 0

Beantwortet
How can I solve this expression for Qi_s/thetha_s = ....?
To get a transfer function, you should divide both sides of the equation by theta_s, and you will get this: % Qi_s/C-theta_s/(R...

ein Tag vor | 0

Beantwortet
Issues in the constraint functions of the Optimization Problem solving
There should be elementwise operations in ceq formulation if M2, beta1, beta2 and P are vectors.

2 Tage vor | 0

Beantwortet
Why my symbolic result of eigenvalue doesn't match my numeric result?
The reason for having three different eigen values can be explained with the followings: Eigenvalues1 = eig([2 0 0; 0 2 0; 0 0 ...

2 Tage vor | 0

Beantwortet
Exponential approximation for vector input
You have overlooked one dot. Here is the corrected commands: vect = [-5.0000 -5.0000 -5.0000 1.0000 0.9000 0.8000...

3 Tage vor | 0

| akzeptiert

Beantwortet
How do I get I pass out the input parameter to ode45 integration
There are a couple of overlooked points as Torsten pinpointed out. Here is one simple explae of dx = 2x example solution very si...

3 Tage vor | 0

Beantwortet
How do i find the standard deviation of every row of a 12*18 cell array?
Her is one solution: C = load('mean.mat').z; S =C; for ii = 1:12 for jj=1:18 IDX = isnan(C{ii,jj}); ...

3 Tage vor | 0

Beantwortet
How can we re construct images with equation for temperature distribution. ?
Use gtext() to display the equation

4 Tage vor | 0

Beantwortet
Processing Time for Data
You can try: tic .. toc

4 Tage vor | 0

Beantwortet
Training and splitting a custom dataset
In this case, there are a few ways - cvpartition() and datasample() to split/partition the data into training and test data sets...

4 Tage vor | 1

Beantwortet
movavg with custom type and weights
In this case, it is better to use filter() that gives a good moving average filter solution: A = 1:5; B = [.5 .5 ]; Out_A = f...

4 Tage vor | 0

Beantwortet
why this code gives error?
Here is the corrected code: [color, I_map]=imread('C:\Users\User\Desktop\matlab\photo.png'); gray=rgb2gray(color); gray=doubl...

4 Tage vor | 0

Beantwortet
Plotting a signal function
This can be also solved using griddedInterPolant(), e.g.: % Solution # 1. Y = [0 1 1 2 2 -1 -1 0 ]; % y data X ...

4 Tage vor | 0

Beantwortet
How to draw a 3D phase plane using three differential equations with 5 parameters
First of all, you need to have the param values for alpha, beta, tau, gamma, delta and initial conditions for D1, D2, h. This ex...

5 Tage vor | 0

| akzeptiert

Beantwortet
How to multiply, in a loop, a function by a variable from a matrix and plot the change.
Here is the corrected code with some modifications to imptove the computational efficiency of the code. Note that x1 is not chan...

5 Tage vor | 1

| akzeptiert

Beantwortet
A system of nonlinear equations with three variables
In your code, there are a few errors with matrix operations. It is more computationally to use vectorized approach instead of f...

5 Tage vor | 0

Beantwortet
How to send variable signals in Simulink?
Simulink has [From Spreadsheet] block that can be used to read data from an external file - *.csv. Here is one example (DATA_re...

5 Tage vor | 0

| akzeptiert

Beantwortet
Simulink "MATLAB Function" block and extremum value
Note that there are a couple of important points here. (1) v input argument values have to be given/known to perform the calcula...

5 Tage vor | 0

Beantwortet
Using vertcat to convert cellarray consisting of mutiple columns into an array of multiple columns
Here is how it can be attained: C1 = {randi(3, 3)}; C2 = {ones(3)}; C3 = {zeros(3)}; C4 = {randi(3, 3)}; C5 = {ones(3)}; ...

5 Tage vor | 0

Beantwortet
Global error and local error of euler method
Yes, error increase if h step size increases. See this simple example: dy = y(t) with y(0) = 3; y(n+1) =y(n)+h*f(t(n), y(n)); ...

5 Tage vor | 0

Beantwortet
vertical concatenate strings in msgbox
Here is the corrected code: v = VideoReader(filename); % Create Videoreader object %Get i...

5 Tage vor | 1

Beantwortet
Automatically sorting years and quarters in a serial number
One of the easy solutions is to cretae a table array with variable names: Year (numerical) and Quarter (categorical array), e.g....

5 Tage vor | 0

Beantwortet
Why won't my graph plot properly in the live script?
Your shown screenshot shows that you are viewing it in MLX- editor. If you hover your mouse over your plotted figure and click o...

5 Tage vor | 0

Beantwortet
How to remove rows in a cell array?
Here is how you can do it: load('stations1.mat'); [Rs, Cs] = find(cellfun(@isempty, stations1)); stations1(Rs,:)=[];

6 Tage vor | 1

| akzeptiert

Beantwortet
How to code equation
Put both functions in plot() command or use hold on: m = 10e-3; a = 0.05; c = 0.1; x1 = @(t)(m/a)*exp(-(c/a)*t); x2 = @(t)...

6 Tage vor | 0

Beantwortet
index error,exceeding array dimensions.
Here is the corrected code: Vet = randi([-9,9], 1, 7); dim = numel(Vet)+1; V = ordina(Vet,dim) function Vet_ord = ordina(Vet...

7 Tage vor | 0

Beantwortet
Plotting as intregral the acceleration of a thing
This is how you can solve this exercise: N=100; T=11; dt=T/N; t=0:dt:T; F = [0 2 2 0 0 -2 -2 0]; % Accel...

7 Tage vor | 0

| akzeptiert

Beantwortet
Matlab Simulink Arduino package
You would need MATLAB Support Package for Arduino Hardware - see Arduino Support from MATLAB - Hardware Support - MATLAB & Simul...

9 Tage vor | 0

Beantwortet
How to code equation
A couple of small errors have been corrected: m = 10e-3; a = 0.05; c = 0.1; x = @(t)(m/a)*exp(-(c/a)*t); t = linspace(0,1...

9 Tage vor | 0

| akzeptiert

Mehr laden