Community Profile # Sulaymon Eshkabilov

Last seen: 6 días ago Active since 2019

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

#### Statistics

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

View by

How to delete a Matrix in a 3D Matrix?
You are trying to change the size of the matrix that can't be achieved in this way. If you need to find and substitute NaNs with...

10 días ago | 0

How do I make a figure legend multiple lines?
This one is a better solution that is easier to implement: plot(sin(1:.1:10),'r', 'DisplayName', 'Cosine'), hold on plot(cos(1...

11 días ago | 0

finite element for 1d poisson equation
You can employ matlab's PDE toolbox fcn pdepe(). How to use it: doc pdepe Also, you can find some good help in this DOC.

27 días ago | 0

Image analysis for Signal processing help
Using the Discrete Cosine Transform is quite straightforward. You'd need to employ dctmtx() fcn. Help documentation: doc dct...

28 días ago | 0

Image analysis for Signal processing help
Use imcrop() How to use this function: >> doc imcrop

28 días ago | 0

| accepted

Perform fminsearch to find the best value for the variable in a model
One pranthesis was missing: ... for ii = 1:numel(Imeas) Itheory = @(Ro)(Imeas(ii)*exp(-Ro*-2*bet_a*k*2*Ro*(1-(y(ii)/Ro)^2))...

28 días ago | 0

How do you obtain the equation of the Adaptation mechanism adjusts in the MRAC PID block?
It is found here: Simscape / Electrical / Control / General Control If your MATLAB/Simulink package has Simscape toolbox. Yo...

28 días ago | 0

Perform fminsearch to find the best value for the variable in a model
Note the following two points in your code that must be identical and input variable names must match as defined above: Itheory...

28 días ago | 0

| accepted

Keyboard shortcuts are not mapped correctly to different language keyboard
Use preferences options to adjust your keyborad shortcuts, e.g.: >> preferences follow: Preferences -> keyboard -> Shortcuts ...

28 días ago | 0

How to detect rotation in a trajectory?
One way of detecting the region of values is using logical indexing, e.g.: t = ... x = ... y = ... % Way 1 Ind = t>=0 &...

28 días ago | 1

Perform fminsearch to find the best value for the variable in a model
There are a couple potential of errs in your code. (1) Ifunc fcn has to have two more input variables, viz. bet_a, k and thus, w...

28 días ago | 0

Laplace Transform of Given Differential Equation
Note that if your system has "zero" ICs and not excitation force; therefore, your system solution (response) will be zero. If yo...

alrededor de 1 mes ago | 0

See the attached screen shot how to perform a search.

alrededor de 1 mes ago | 0

Import .csv files in my folder directory.
probably, you'd better use a loop, e.g.: for ii=1:Number_csv % Number of *.csv files D{ii}=readmatrix(strcat(num2str(i...

alrededor de 1 mes ago | 0

| accepted

Laplace Transform of Given Differential Equation
Laplace transform does not work at t ~0 initial conditions and thus, here dsolve() might be a better option, e.g.: syms y(t) D...

alrededor de 1 mes ago | 0

How to Identify Range of Frequency which is Noise from FFT Freq Domain graph
Your filtered signal is not quite noise free as it shows here from your script, and your obtained FFT is not quite correct. [x,...

alrededor de 1 mes ago | 0

MATLAB gives the integer value of subtraction when the difference between numbers is large.
Specify flotaing point format accordingly, e.g.: a=[1;1;1;1]; b=[10^23;10^23;10^23;10^23]; c=a-b fprintf("%1999.0f \n",c) ...

alrededor de 1 mes ago | 0

how to pull correct h into h(i)
Hi, You meant A(2,2) to have h=6.5929, A(3,3) to have h = 6.0625, correct? If so, you can adjust your loop by adjusting inde...

alrededor de 1 mes ago | 0

| accepted

Integration containing multiple variable and plotting
Use integral3: https://www.mathworks.com/help/matlab/ref/integral3.html

alrededor de 1 mes ago | 0

Maybe in mac, this way works: addpath(genpath('/Users/maherheal/Applications/CPLEX_Studio128/cplex/matlab'))

alrededor de 1 mes ago | 0

One option is creating p-code of m-files, e.g.: >> pcode MYfile.m

alrededor de 1 mes ago | 0

Projectile Motion With Air Resistance Vs. Free-Falling with Air Resistance
You can add the free fall plot using simply, e.g.: ... xfall=x(1)*ones(size(x)); yfall = linspace(0, h, numel(y)); plot(xfal...

alrededor de 1 mes ago | 1

| accepted

why looping just save the last value of iteration
Because the indexes are missing, e.g.: data_diff(??) = out.Vo.signals.values-v_data; lse(??) = lse(??) + (data_diff'*data_diff...

alrededor de 1 mes ago | 0

Startup view for a Simulink model.
See the attached example.

alrededor de 1 mes ago | 0

Startup view for a Simulink model.
Hi, Hit your highest level system model on the left top corner of the model browser and then save your model. That would give...

alrededor de 1 mes ago | 0

| accepted

for loop forward modelling
You can start working somewhat in this way: ... rho = 2600; % Note density can't be negative. for ii = 1:2 f...

2 meses ago | 0

3D Plotting with symbolic variables
If it is a symbolic expression, use fmesh(). Here is a good doc how to employ it: https://www.mathworks.com/help/matlab/ref/fmes...

2 meses ago | 0

Script too Long to Run
Here is a little simplified version of your code: clc format long n=1e4; x1=zeros(n,1); x2=x1; x3=x1; x4=x1; error=x1; ...

2 meses ago | 1

| accepted