Community Profile

# Sulaymon Eshkabilov

Last seen: Today Active since 2011

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

All

#### Content Feed

View by

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

2 days ago | 0

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

2 days ago | 1

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

2 days ago | 0

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

2 days ago | 1

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

5 days ago | 0

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

6 days ago | 0

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

7 days ago | 0

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

7 days ago | 1

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

10 days ago | 0

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

10 days ago | 0

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

11 days ago | 0

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

11 days ago | 0

| accepted

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

12 days ago | 0

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

12 days ago | 0

| accepted

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

12 days ago | 1

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

12 days ago | 1

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

12 days ago | 0

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

12 days ago | 0

| accepted

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

12 days ago | 0

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

19 days ago | 0

| accepted

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

20 days ago | 0

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

20 days ago | 2

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

20 days ago | 0

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

22 days ago | 0

| accepted

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

22 days ago | 0

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

22 days ago | 0

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

22 days ago | 0