Community Profile # Sulaymon Eshkabilov

Last seen: Today Active since 2019

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

#### Statistics

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

View by

Defining a function for a vector of values, while keeping two variables unknown
% Here is the complete solution syms y z A =1:5; F = @(A, y, z) sum(A+y+z); FF = (F(A, y,z))

2 días ago | 0

How to add a .png image to be published as a pdf output file
Note the file extension - Part1.jpg That looks like that in your code the file extension is NOT *.png but *.jpg Your image fi...

2 días ago | 0

Defining a function for a vector of values, while keeping two variables unknown
Supposedly, this is what you are trying to achieve: syms y z A = magic(3); F = @(A, y, z) cumsum(A+y+z); FF = (F(A, y,z))

2 días ago | 0

dot product and indexing
The explantion is as follows: % Step 1. Comparing every individual value (element of) of NCol row vector (row matrix) % with ...

2 días ago | 0

How to add the count of iterations and relative error to the code?
Here are how you can obtain the final iteration and rel./abs error values when the roots are found. function root = newton(fun...

3 días ago | 0

I want to solve solution for Equation which is behaving like both ODE and DDE
You can try to employ Laplace and inverse Laplace transforms, laplace() and ilaplace()

3 días ago | 0

How do I create a for loop with fields of structures?
You can try to work with fieldnames() and getfield() names, e.g.: Fnames = fieldnames(Global_Data); for ii = 1:length(Fnames) ...

4 días ago | 1

Two area three unit thermal power system
In your m-file, one of the variables is not initialized correctly, see: ... b1=0.4249; b2=0. % ERR 4249...

4 días ago | 0

Index is out of range when creating 3D arrray
If NUM_data = 40, then your code should sth like this one: ... for n = 1:NUM_data X(:,:,n) = dlmread(list(n)); end ....

4 días ago | 0

Non linear regression: Matlab function similar to Excel solver ???
MATLAB's fitnlm() builtin function works for nonlinear regression analysis in your exercise you can use it. See this help docume...

4 días ago | 0

Converting an animated time step 2D plot into 3D
You can employ meshgrid().

5 días ago | 0

How do I insert Nan values into a list, if there isn't a file which has a specific name? when exporting column values of multiple files into new file.
The data (nV) import and augmentation from the data files can be done using readmatrix(), strcat(). E.g.: DS =[]; for ii = 1:5...

5 días ago | 0

Trouble using the system command with special characters
One ' sign is missing before 1st comma "," datenum = str2num(num); system('convert −delay 65 −loop 0 [ea','_',KXXX,'_',datenum...

5 días ago | 0

Mortgage repayment option in matlab
... MP =(HP.*(MR/12).*(1+MR/12).^360)./(((1+MR/12).^360)-1)

5 días ago | 0

| accepted

Having Unrecognized function or variable (name)
Note that the assigned variable value for keyGen() has to be predefined or initialized before assigning its value to another var...

5 días ago | 0

How many terms of series are required to get accuracy upto three decimal point. That is series sum correct upto 3.141
Indeed, it is working ok. Here is a test with 0.0001 decimal accuracy. There is one minor point that needs to be fixed withing f...

5 días ago | 0

Reading all columns and rows of a matrix in a for loop
Your code should work correctly according to your described statements and variable sizes.

5 días ago | 0

Determine the rocket's equation of motion
In your code, you need to make some corrections, e.g.: ... disp(t1); disp('Tai thoi diem nay ten lua da ra ngoai vu tru va kh...

5 días ago | 0

Question

Why the following simple calculation is NOT consistent
Here are simple multiplication and division of scalars but the results are not consistent. What is causing this and how to make ...

19 días ago | 1 answer | 0

### 1

Reading a variable that have different names in different data files
Have you tried this ways of reading data, e.g.: for k = 1 : nfiles fullFileName = fullnames{k}; %reading the file as a t...

21 días ago | 0

How to read a very large number, say of 700 digits?
A good solution for this exercise is vpi() fcn developed by John D'Errico: https://www.mathworks.com/matlabcentral/fileexchange...

22 días ago | 1

How to subtract background from a leaf image .

22 días ago | 0

Array of Structures to Structure of arrays
Jan is right that your questions are not quite clear for the reader as described here. But what I've understood is the followin...

23 días ago | 0

Trying to plot multiple Euler curves with 3 different step values.
Here is the corrected complete code that computes x1, x2, x3 along with t1, t2, t3 and plots their values accordingly: a = 0; ...

23 días ago | 0

Trying to plot multiple Euler curves with 3 different step values.
There are a few unknowns and flaws in your code, e.g.: N, x1, x2, x3 are not known Within loops: N=60, N = 300, N = 3000 are n...

23 días ago | 0

Do a plot of the messages from 24 hours. Hour by Hour
Easy solution might be this, e.g.: N = numel(Time_AIS1); figure(1) stem(1:N, Time_AIS1), xlabel('Hour'), ylabel('# of message...

23 días ago | 0

how to create on an efficient way zeros in a symbolic matrix?
syms x n=4; A=sym(zeros(n,2)); % A(:,1) = zeros(n,1); % NOT Necessary % A([1:n-1],2) = 0; % NOT Necessary A(n,[...

23 días ago | 0