Community Profile # Sulaymon Eshkabilov

Last seen: Today Actif depuis 2011

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

#### Statistics

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

Afficher par

A répondu
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...

1 jour il y a | 0

A répondu
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...

1 jour il y a | 1

A répondu
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');...

1 jour il y a | 0

A répondu
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...

1 jour il y a | 1

A répondu
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...

4 jours il y a | 0

A répondu
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...

5 jours il y a | 0

A répondu
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...

6 jours il y a | 0

A répondu
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...

6 jours il y a | 1

A répondu
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...

9 jours il y a | 0

A répondu
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...

9 jours il y a | 0

A répondu
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...

10 jours il y a | 0

A répondu
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...

10 jours il y a | 0

| A accepté

A répondu
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...

11 jours il y a | 0

A répondu
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 ...

11 jours il y a | 0

| A accepté

A répondu
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...

11 jours il y a | 1

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

11 jours il y a | 1

A répondu
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...

11 jours il y a | 0

A répondu
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...

11 jours il y a | 0

| A accepté

A répondu
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...

11 jours il y a | 0

A répondu
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...

18 jours il y a | 0

| A accepté

A répondu
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^...

19 jours il y a | 0

A répondu
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 ...

19 jours il y a | 2

A répondu
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)) ...

19 jours il y a | 0

A répondu
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...

21 jours il y a | 0

| A accepté

A répondu
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 ....

21 jours il y a | 0

A répondu
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...

21 jours il y a | 0

A répondu
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...

21 jours il y a | 0

A répondu
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

22 jours il y a | 0

A répondu
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...

22 jours il y a | 1

| A accepté

A répondu
all ODE function returns NaN
Note that the found numerical solutions of y(:,1), .. y(:,5) are in different scales and therefore, it is appropriate to polt th...

23 jours il y a | 0