Community Profile

# Sulaymon Eshkabilov

Last seen: Today Active since 2019

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

All

View badges

#### Content Feed

View by

Answered
Error using MATHLABbatch system!
Here is the nice help on how to adjust MATLAB batch size while performing large simulations: https://vsoch.github.io/wiki/clus...

2 hours ago | 0

Answered
How can I create a matrix that contains number and text without using the cell array?
The most efficientw ay of getting this exercise done is wot use writetable(): % (1) Some structure data: A.Data1 =(1:10).'; A...

2 hours ago | 0

Answered
How do you ask the user to load a path from the .xlsx file, then store it in variables with some concerns when reading the .xlsx file using app designer?
There are a few points to consider here. Using readmatrix(), readtable(), readcell() and writetable(), e.g.: A1 = readmatrix("f...

3 hours ago | 0

Answered
how to code equation
Here is the corrected code: Re = 0:50:1000; xL = linspace(0,1, numel(Re)); Cf = 0.664*(Re).^(-0.5); deltaX = 5.0*(Re).^(-0...

3 hours ago | 0

| accepted

Answered
I am working on to pre process my ultrasound images using loop.But i couldnt save the output of the preprocessed images from the loop.
The code is overwriting the already existing file with a changed size and recalling it again. Thuis, the file name change was ne...

3 hours ago | 0

Answered
Normalizing to the maximum value
Use normalize() to normalize each row or use simple matrix operation to obtain the values of matrix elements to be between [0 ....

6 hours ago | 0

Answered
How do I create a table and add a row of text from an existing matrix?
Here is one of the possible solutions with strcat() to rename the table header variable names, e.g.: DAT = randi(13, 15); RR =...

8 hours ago | 0

Answered
How can I generate a trigonometric formula for the following case?
Here is how this can be solved using syms and vpasolve: Theta= [39.8414239035357 38.0423831220740 35.9925962696569 33.66291792...

8 hours ago | 1

Answered
Write a MATLAB function called myelecusage with one input, a list of 5 numbers, representing the individual measurements from an electric meter dial guage and returns the tota
Here is the corrected answer: ANSWER =myelecusage([3, 0, 8, 9, 3]) readings=[0, 2, 8, 1, 0]; kwhr = myelecusage ([readings]) ...

8 hours ago | 0

Answered
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(...

1 day ago | 0

Answered
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...

1 day ago | 0

Answered
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...

2 days ago | 0

Answered
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.

3 days ago | 0

Answered
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 ...

3 days ago | 0

Answered
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 days ago | 0

| accepted

Answered
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 days ago | 0

Answered
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}); ...

4 days ago | 0

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

5 days ago | 0

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

5 days ago | 0

Answered
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...

5 days ago | 1

Answered
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...

5 days ago | 0

Answered
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...

5 days ago | 0

Answered
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 ...

5 days ago | 0

Answered
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...

6 days ago | 0

| accepted

Answered
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...

6 days ago | 1

| accepted

Answered
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...

6 days ago | 0

Answered
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...

6 days ago | 0

| accepted

Answered
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...

6 days ago | 0

Answered
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)}; ...

6 days ago | 0

Answered
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)); ...

6 days ago | 0