Community Profile

# Sulaymon Eshkabilov

Last seen: Today Con actividad desde 2011

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

All

Ver insignias

#### Content Feed

Ver por

Respondida
lower and upper cusum
Note that every time, when you run the command it generates a new set of values. Thus, use rng(): rng('default') y=random('nor...

5 días hace | 0

Respondida
convert or translat number to specific word using it for title
Here is onee of the possible solutions with one simple example: T = randn(4, 15); t=1:15; catnames = {'Normal', 'Level 1', 'L...

5 días hace | 1

Respondida
Best practice for implementing LaTeX thin space within axis label
Here is the solution: t=linspace(0, 2*pi); h = sin(t); figure plot(t,h) xlabel('\$time \ [ \ s\ ]\$', 'Interpreter','latex');...

5 días hace | 0

Respondida
maximization problem , linprog optimization
Here is a nice documentation showing several examples how to apply linprog() fcn of MATLAB to solve such exercises: https://www...

5 días hace | 1

Respondida
How to get tangent line from a point not on the curve
Note that the point at which you're trrying to compute real valued tangent does not exist of the given y(x) fcn. Therefore, if t...

8 días hace | 0

Respondida
Loop through every nth row in a data frame in a function
The simpler and more efficient way would be using a logical indexing option or just use necessary indices, e.g.: % DATA input/g...

9 días hace | 0

Respondida
How to use matlab to draw such a diagram？
What are your given parameter values and equation? You can use similar approach as shown in this example: [x,y]=meshgrid(linsp...

10 días hace | 0

Respondida
Need help with the assignment from uni
You can try using fsurf() to get a cup like shape - see this DOC: R1 = 7.3/2; R2 = 5.5/2; T = asin(R2/R1); X = @(x,y) R1*c...

10 días hace | 1

Respondida
Can we use standard deviation of color image as a contrast value?
Numerically to find the differences of the two imaes (of the same size) and then compute the std of the computed differences are...

13 días hace | 0

Respondida
How can I open an Oxfor Instrument Pulsar .fid file in MATLAB?
If it is a binary data file, then you can use fread(). See this doc how to employ fread(): https://www.mathworks.com/help/matla...

13 días hace | 0

Respondida
How do I loop over all columns in a cell array?
Use this code as given here then you will not get the errors which are shown in your message thread: load('balls_data.mat') ID...

14 días hace | 0

Respondida
dlmwrite vs. writematrix: speed
If you run this simulation on the MATLAB desktop and shift the orders, their elapsed time will be similar. Anyhow it is interest...

14 días hace | 0

Respondida
can we make 3D mash plot from eq y(x)
You can consider the following code for 3D simulation of the projectile: % Projectile motion simulation for t = [0 : 25] second...

15 días hace | 0

Respondida
How do I align my matrix elements
This displays ok here. In your case, change the font size of the command window or use live editor that will display correctly ...

15 días hace | 0

Respondida
Plotting streamlines in polar coordinates
Use quiver() plot function to plot vector fields -see this documentation: https://www.mathworks.com/help/matlab/ref/quiver.html...

15 días hace | 1

Respondida
Curve Fitting with Complex Value
Use the nonlinear fit with least squares method lsqcurvefit() - see this documentation: https://www.mathworks.com/help/optim/ug...

15 días hace | 1

Respondida
How do I loop over all columns in a cell array?
Here is the complete code to calculate all outliers: load('balls_data.mat') % Note balls_data is a cell array contains some...

15 días hace | 0

Respondida
How to access data in my cell array?
If understood your question correctly, here is the corrected code: spx = [1*10^6; 1200; .08]; dpx = [10*10^6; 1500; .22]; frx...

15 días hace | 0

Respondida
Plot shows markers, but no lines, no matter what is being plotted
Here is the corrected code: x = linspace(0,10,100); y = exp(x/10).*sin(4*x); scatter(x,y) % In case, you want with lines: x...

15 días hace | 0

Respondida
How to trim start and end of time series data?
Here is how it can be done using an index option: X1 = [0.978184526233207 1.09489935704680 1.59164669497844 1.04748369986280...

22 días hace | 0

Respondida
calculate differentiation with large coefficient
Here is a bit improved solution: omeganol=2.5; E=50; I=30; L=600; syms y(x) y(x)=vpa(omeganol/(120*E*I*L)*(-x^5+2*600^2*x^...

23 días hace | 0

Respondida
How to display an image and a plot on the same figure while controlling axes
Here is how it can be attained: my_image = uint8(linspace(1,0,720)'*linspace(1,0,1280)*255); % some diagonal color gradient ...

23 días hace | 2

Respondida
Please tell me the best way to load .Raw ct image into MATLAB?
Use image(), imshow(), imagesc(): % To view Tiff image: A = tiffreadVolume('TIFF_Image.tiff'); % image() image(A(:,:,1)) ...

23 días hace | 0

Respondida
Unable to Join Tables and Timetables
Note that both tables should have identical variable names to concatenate them, see - your example 1 (corrected): Input = '2023...

25 días hace | 0

Respondida
I have a problem in the annexed excel file there are two tables, first table give the graph representing geological layers I need to get the second table with Matlab Code
If understood your explanations, here is how to collect the data from table to w.r.t xc range values and constant values of z1 ....

25 días hace | 0

Respondida
Plot lines appear fuzzy
One quick solution is to enlarge (Maximize) the figure window and then to restore (Restore) it ints original size using the righ...

25 días hace | 0

Respondida
I have a problem in the annexed excel file there are two tables, first table give the graph representing geological layers I need to get the second table with Matlab Code
Here is the solution. readmatrix() is option 1 and xlsread() is option 2: D = readmatrix('Salt Dome Interpretation.xlsx'); % D...

25 días hace | 0

Respondida
How to set the simulink in fixed solver mode and ode4 by default, so that while opening a new blank simulink page, the solver is at fixed step solver and ode4 by default ?
First, see how to adjust the solver - DOC Then follow the steps - given in this thread

26 días hace | 0

Respondida
what is NaN matrix?
It depends on what operation you have performed. The means of NaN and Inf are: NaN means not-a-number, i.e., 0/0 (also, missi...

26 días hace | 1