Community Profile

photo

Sulaymon Eshkabilov


Last seen: Today Active since 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 4
  • Indexing V Master
  • Leader
  • CUP Challenge Master
  • Knowledgeable Level 4

View badges

Content Feed

View by

Answered
append (a row) to the end of an excel sheet
This is how you can get it: FName = 'DATA.xlsx'; for ii=1:5 writematrix(magic(3), FN, 'WriteMode','append') end

11 days ago | 0

Answered
My first fzero calculates just fine but the one after gives me an error eval: TRY must be a string
There are a few inconsistencies in your codes, i.e., f is a fcn not defined as a fcn handle or fcn file. What is fgraf() fcn? ...

11 days ago | 0

Answered
Drawing random lines in rectangular
Some of the loops can be substituted with vectorization operations, i.e.: ... numbLines=30; theta = 2*pi*rand(numbLines, 1); ...

11 days ago | 0

Answered
how calculate difference 5 adjacent pixels?
Here is the corrected code (see: row vs. col): for x=2:row-6 for y=2:col-6 difference_of_intensity = abs(m(x,y) -...

11 days ago | 0

Answered
I`m new to matlab and I need some help about poles and tf?
Use root locus plot and step response simulations that will answer to your questions, e.g.: Sys=tf([1,17],[1,10,17,114]); pzma...

11 days ago | 0

Answered
Solving PDE using pde modeler
Use: meshgrid() and del2()

11 days ago | 0

Answered
How could I remove outliers in really small data?
Linear interpolation might be good to use here, e.g.: x = [-9.0000 -8.0000 -7.0000 -6.0000 -5.0000 -4.0000 -3.0000 ...

11 days ago | 0

| accepted

Answered
Am I creating dynamic variable names?
What you are doing here is not dynamic variable naming. You're assigning a new variable name from your already assigned data. T...

11 days ago | 0

Answered
How to Call a function inside for loop?
Here is the corrected code, but still you should check the equation. The found roots are complex valued: hf = 75:20:350; NEFF ...

12 days ago | 0

Answered
Interpolation is wrong?
Here is the corrected code: x=dep_cal2012; y=wc_average; ix = linspace(1, max(x), numel(y)); WC_interp = interp1(ix, y, x,'ne...

17 days ago | 0

Answered
Help to transform math formula to matlab
Using the vectorization: format long m=5; jj=1:m; XSum1 = sum(log(jj).*exp(jj.^2)) % Or alternatively Xs = log(jj).*exp(...

17 days ago | 0

Answered
Why Does "clear all" Impact Prior Commands in a Script?
In such cases, it is best to use: clearvars instead of clear all

17 days ago | 0

Answered
How to solve laplace transform for ODE with initial value condition
Here is the corrected code: syms t s y(t) Y(s) Dy = diff(y,t); EQN = t*Dy+y== cos(t); LT = laplace(EQN, t, s); LT = su...

17 days ago | 0

Answered
I have to find the local minima and maxima corresponding to the "peaks" and "valleys" of a data file.
Have you worked with fminsearch() fcn of optimization toolbox: https://www.mathworks.com/help/matlab/ref/fminsearch.html

17 days ago | 0

Answered
How can I use Lorenz Attractor code?
You simulated the code incorrectly. Here is how you should run the code in one m-file: ICs=[5, 5, 5]; % Your data t=[0, 20]; ...

17 days ago | 0

Answered
How can I make my ODE system run faster
Use a variable step solver instead of the fixed step, e.g.: options = odeset('mass',BigM,'MassSingular','no','BDF','on','MaxOr...

20 days ago | 0

Answered
Import Data Fails to open excel file
Use readmatrix() or readtable() which are much more efficient and faster than uiimport() or importdata() fcns that you have used...

20 days ago | 0

Question


How to combine two profiles
Hello MATHWORKS staff, Could you please post a procedure how to combine two different mathworks profiles into one? Thanks mu...

20 days ago | 0 answers | 0

0

answers

Answered
How to plot graph with multiple values of x in a function
You may also consider to display a legend showing the number of x values taken for calc and plot in every iteration: count=0; ...

20 days ago | 1

Answered
How to plot graph with multiple values of x in a function
A small (but crucial) err that is elementwise operation needed, e.g.: count=0; for i=[3,5,7,10,20,100] count=count+1; ...

20 days ago | 1

Answered
how can i fit curve for transfer function
Laplace transform (LT) formulation is already an anaytical form solution and if you would like to get a new fit (rational polyno...

20 days ago | 0

Answered
houghline function gives too many outputs???
One potential err is in fcn file: houghline(textxray,r,theta); that does not have any output, but in your M-file you are callin...

20 days ago | 0

Answered
How to save/store/recuparate data from inside a nested loop.
This can be done: for X=1:N_aoa initial=[0;aoa(X);0;0]; Y=[initial,zeros(4,N)]; for n=1:N ... %Stuff happens here ...

20 days ago | 0

Answered
How to plot values at particular column or row in a 2D matrix
% A is 1024 - by - 256 plot(A(:,250))

21 days ago | 0

Solved


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

21 days ago

Answered
Pasteing texts in Matlab script is not working
Restart your computer and install any updates of your computer's OS. It should resolve the issue.

21 days ago | 0

| accepted

Answered
fmincon error occurs without details in Matlab
It is working ok. clearvars;clc; lb = [0, 0]; ub = [1, 1]; A = [1 1]; B = 1; Aeq = []; Beq = []; x0=[0.5, 0.5]; ...

21 days ago | 0

Answered
Combine data from 3 tables based on common datetime?
Here innerjoin does not work. It is better to employ a logical indexing approach, e.g.: % D1 is a first table array variable an...

21 days ago | 0

Answered
How to read data from excel to a cell?
You can get the data from *.xlsx with a few different data import fcns of matlab. Here are two most recommended data import fcns...

21 days ago | 0

Answered
Why do i get a empty matrix as a result?
There are a few errs (where the parameters are defined and how the output variable dv() is defined) in defining the function fil...

21 days ago | 0

Load more