Community Profile

# Sulaymon Eshkabilov

Last seen: 2 days ago Active since 2019

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

All

#### Content Feed

View by

I want Huffman coding
Have you visited to this doc: Encode sequence of symbols by Huffman encoding - MATLAB huffmanenco (mathworks.com)

12 days ago | 0

plotting a line graph
Here is a list of steps how you can write a short code to get your assignment done: (1) A user input entry with input() (2) Wr...

13 days ago | 0

Why am I getting invalid file identifier error?
Hi, I would check the directory address is correct. And if it is correct, then if MATLAB is reading it correctly. name = {'...

13 days ago | 0

Generate Circles in 500x500 pixel Spectrum
% Use: linspace() % Use: meshgrid() % Use: sin(), cos() % Plot using: pcolor()

13 days ago | 0

removing ticks on top and right axes
Here is one easy solution to manipulate ticks, e.g.: x = linspace(0,pi); y = sin(x.^2); plot(x,y), grid on yticks([ ]) xtic...

13 days ago | 0

Getting Complex number from a function
Here is the corrected code: dim = 100; %create 100x100 array a = linspace(-1, 1, dim); b = linspace(-1, 1, dim); [ax, by] =...

13 days ago | 0

| accepted

How to plot time-spatial distribution of the data?
For this exercise, it is better to use one of the following functions: imagesc() contourf()

13 days ago | 0

How to minimize the white space from boxchart in MATLAB?
Why not to use saveas(), e.g.: ... saveas(t,'boxPlot0.jpg')

14 days ago | 0

Convert whole numbers to decimals
One easy to display option after reading your data which are whole numbers is using /* operations, e.g.: A = [0, 90, 9, 224; 33...

14 days ago | 0

How to give colorbar to a tif image in Matlab
Have tried this syntax: [X,Cmap]= imread('IMAGE.tif'); image(X); colormap(Cmap);

14 days ago | 0

Rendering human avatar using forward velocity and turning rate inputs
It depends what you wish to achieve. Just human walking kinematics and dynamics can be modeled in Simulink using Simscape toolbo...

2 months ago | 0

exponential notation used for uislider Major Tick Mark Labels

2 months ago | 0

How do I plot the derivative of a function?
It is very simple, e.g.: x = [-3, -2.5 -2 -1 0 1 2 3]; y= sin(2*x); plot(x, y)

2 months ago | 0

How do I retore the menu of an undocked Command Window?
Click on [Three Column] from the Layout drop down option and then you will get Folder and Workspace in two sideway windows. ...

2 months ago | 0

How do I plot the derivative of a function?
To plot sin(2*x), e.g.: syms x fplot(x, sin(2*x), [-pi, pi]), grid on xlabel('x'), ylabel('sin(2*x)') Apply this exercise fo...

2 months ago | 0

How to change font size and location in a mask icon?
You can try gtext() or text(), e.g.: gtext(['This is awesone ' date], 'fontsize', 15, 'backgroundcolor', 'y') %% OR text(1, 1...

2 months ago | 0

About solving state space equation (mass, spring, damper)
(1) Derive the equation of motion that will be 2nd order Differential equations (2) Transform the derived equations into the La...

2 months ago | 0

| accepted

How do I plot the derivative of a function?
Use syms and fplot(), e.g.: syms x fplot()

2 months ago | 0

can someone check my code?
Here is the corrected code: A=randi([0, 111], 1826, 3600); S=1:720; P= zeros(1826, 3600); for i=1:1826 for j=1:3600 ...

2 months ago | 0

Hello everyone. I have a file .data and I need to convert it to an array. How can this be done?
Use the recommended data import fcns, such as readtable() or readmatrix() that would import your data into a Table or Matrix arr...

3 months ago | 0

hyperspectral imaging signature plot
It can be obtained with the following steps: (1) Import your HSI data into MATLAB. In other words, read your hypespectral image...

3 months ago | 0

looking for the formulas required to generate an augur surface
This is the Archemedian Screw. Here are a few sources that demonstrate all calcs: https://www.researchgate.net/publication/2815...

3 months ago | 0

| accepted

Creating a fucning in spesific format
You may consider using fprintf() by specifying the format specs, e.g.: F = pi; fprintf('F = %3.15f \n', F)

3 months ago | 0

| accepted

How to open an old version MDL file?
Most of the cases, MATLAB/Simulink is backward compatible, in other words, the models created in older versions should be opened...

3 months ago | 0

Creating a diagram from polynomial
There are a few different ways to get this exercise done. Compute the values of the polynomial P = [1 -2 4] at x = -10:dx:10 wi...

3 months ago | 0

export values to specific cell in excell
Then you may need to use this syntax: Data = []; for ii = 1:13 N = ii; Data = [Data; {N}]; % Accumulate all data i...

4 months ago | 0

Three terms exponential fit without initial guess
Yes, it is possible to get such fit. Here is an initial draft code syntax: Xdata = ... Ydata = ... MODEL = fittype( @(a,b,c,d...

4 months ago | 0

export values to specific cell in excell
Do not use a loop operation that is not efficient and xlswrite(). Use the following syntax: writematrix((1:10).', 'MY_Data.xlsx...

4 months ago | 0