Community Profile

photo

Sulaymon Eshkabilov


Last seen: Today Attivo dal 2011

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

Statistics

All
  • MATLAB Mini Hack Participant
  • MATLAB Central Treasure Hunt Finisher
  • 24 Month Streak
  • Guiding Light
  • Commenter
  • Speed Demon
  • Personal Best Downloads Level 3
  • First Review
  • Draw Letters
  • Revival Level 4
  • Thankful Level 5
  • Leader

Visualizza badge

Content Feed

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

circa 6 ore fa | 0

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

circa 18 ore fa | 0

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

circa 18 ore fa | 1

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

4 giorni fa | 0

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

4 giorni fa | 0

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

5 giorni fa | 0

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

5 giorni fa | 0

| accettato

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

6 giorni fa | 0

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

6 giorni fa | 0

| accettato

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

6 giorni fa | 1

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

6 giorni fa | 1

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

6 giorni fa | 0

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

6 giorni fa | 0

| accettato

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

6 giorni fa | 0

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

13 giorni fa | 0

| accettato

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

14 giorni fa | 0

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

14 giorni fa | 2

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

14 giorni fa | 0

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

16 giorni fa | 0

| accettato

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

16 giorni fa | 0

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

16 giorni fa | 0

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

16 giorni fa | 0

Risposto
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

17 giorni fa | 0

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

17 giorni fa | 1

| accettato

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

18 giorni fa | 0

Risposto
How can I fix value of vector inside for loop ?
Your assignment is not quite clear but to the best understandinbg of mine. Note that repelem(A,1) if A is a scalar, the result i...

18 giorni fa | 1

| accettato

Risposto
all ODE function returns NaN
There are two ways to address this issue. (1) Let ode15s to select appropriate step size; (2) make the step size much smaller th...

18 giorni fa | 0

Risposto
Solving for Zeros Across a Range
There is an err in the loop in i = linspace(1,I) leads to non integer value that is NOT acceptable for an index. Here is a corre...

18 giorni fa | 0

Risposto
How to save the scatter plot with and without transparency
Use exportgraphics() and also, note where the set() command for figure a and b is used and where exportgraphics() is used, e.g.:...

18 giorni fa | 0

Risposto
Exported Regression Model is outputting NaN's when given new data.
There is one crtical point that is in the input data for the support vector machine regression model the input data needs to be ...

18 giorni fa | 0

| accettato

Carica altro