Statistics
0 Questions
357 Answers
RANK
107
of 260 029
REPUTATION
1 014
CONTRIBUTIONS
0 Questions
357 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
83
RANK
of 17 884
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 111 581
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
How to implement Multi-Otsu Thresholding in matlab?
Use function <https://www.mathworks.com/help/images/ref/multithresh.html multithresh>
environ 10 heures ago | 1
Adding additional information on plot tooltip
Use function <https://www.mathworks.com/help/matlab/ref/matlab.graphics.datatip.datatiptextrow.html dataTipTextRow>
4 jours ago | 0
How do I convert numbers of the form "12,109,987" stored in strings
use function <https://www.mathworks.com/help/matlab/ref/str2double.html str2double> instead of str2num
6 jours ago | 0
How to create multiple answers accepted questions in Matlab script?
Use function listdlg with multiple SelectionMode.
8 jours ago | 0
| accepted
Unrecognized function or variable 'm_equations'
Move the line function MorrisLecar to be the first line of your entire code.
9 jours ago | 0
Concatenate three-dimensional matrices
This is the third dimension, hence cat(3,A,B)
9 jours ago | 0
| accepted
How to add Slider properties with in the app designer?
It uses Limits rather than Min, Max to define the limits. Check this: <https://www.mathworks.com/help/matlab/ref/matlab.ui.c...
10 jours ago | 0
How can I interpolate 13 hour data with each 10 minutes, in every second?
Put the data in timetable and use function retime.
11 jours ago | 0
| accepted
How to Display selected image on the same window (App Designer)
Attach a very simple example to import a jpg file for your reference. Note that you may need to modify it according to your nee...
13 jours ago | 0
How to fix Index position 1 exceeds array bounds (must not exceed 227)
After image resize, the size of the image is always 227x227 in terms of number of rows and columns. However, the original image...
15 jours ago | 0
Merging Cell Array Elements with cellstr
Try this: merged = cellfun(@(x) cat(2,x{:}),num2cell(cell_temp,2),'UniformOutput',false)
16 jours ago | 0
Modify cell value of a row based on other cell value in same row uitable
Just move the last comment as an answer. function uitable4_CellEditCallback(hObject, eventdata, handles) % Get the row num...
17 jours ago | 0
| accepted
Find the length of a vector up to a certain value
The inner for loop is not necessary and it overwrite itself for every 'n'. You may modify the code as follows. ProbdistPoreden...
17 jours ago | 0
How can I let my object repeat over time when animating it?
Try to preallocate 'AV' before the for loop and change the data each time inside the for loop: AV = patch('Faces',1,'Vertices',...
18 jours ago | 0
"regionprops" detecting one line only
load('s.mat') L1 = bwlabel(s); %vislabels(L1); % Ignore the user created funct...
19 jours ago | 0
| accepted
How to draw two plots in one figure?
Use function <https://www.mathworks.com/help/matlab/ref/yyaxis.html yyaxis>
25 jours ago | 0
| accepted
How can I convert 3d MRI data (128x128x27) into 4d (128x128x1x27) for visualization using montage?
B = permute(A,[1 2 4 3])
environ 2 mois ago | 0
How to add text to a line in the plot?
If they are horizontal lines, you can use function <https://www.mathworks.com/help/matlab/ref/yline.html yline> By using this...
environ 2 mois ago | 0
| accepted
How to get the MathWorks documentation in chinese?
Select the Chinese website with Simplified Chinese at the bottom of the website. Then you can find the translated documentation...
2 mois ago | 0
Error when selecting variables from an Excel sheet
Better to define the Variable Names already in the spreadsheet as follows: opts = spreadsheetImportOptions("VariableNamesRange"...
2 mois ago | 0
| accepted
how to save plot with its background color without the gray color
b_col = [255, 150, 0]; % orange color code b_col = b_col./255; f = figure; f.Color = [1 1 1]; % Set the...
2 mois ago | 0
| accepted
Argument of max values of multiple 2D arrays
A1 = [1000 25;3 258]; A2 = [1 30;247 259]; C = 10*(A1>A2) + 20*(A2>A1)
2 mois ago | 0
How to change axes in tiledlayout with different x and y axes
In order to set the limits, use the following ax1.XLim = [XAxislow XAxishigh]; ax1.YLim = [0 400]; instead of ax1.XLimit...
2 mois ago | 0
| accepted
How adding second grid and values in stackedplot
Set the YLim and YTick for that particular axis. X = 0:4:20; Y = randi(5,6,3); f = figure; s = stackedplot(f,X,Y); s.GridVi...
2 mois ago | 0
Scatter matrix of probability of occurrence
You may use function hiscounts2 rawdata = readmatrix('https://www.mathworks.com/matlabcentral/answers/uploaded_files/963270/Wav...
2 mois ago | 1
| accepted
How to define a colormap easily
Use Colormap Editor by typing 'colormapeditor' in the Command Window. You may also define your own colormap easilty.
2 mois ago | 1
| accepted
Struggling with hold on and hold off placements
How about this? L = 2 ; g = 9.81 ; Theta_0 = pi/3 ; % Equations for pendulum p = 2*pi*sqrt(L/g); t = 0:(1/30):2.837 ; The...
3 mois ago | 0
| accepted
Change Datetime 'yyyy.MM.dd HH:mm:SSS' to 'HH:mm:SSS'
use function <https://www.mathworks.com/help/matlab/ref/datetime.timeofday.html timeofday>
3 mois ago | 0
| accepted
How to remove country boundaries from map?
Just use the default one geoscatter([10 55], [80 140], 18, 'filled', 'r')
3 mois ago | 0
How to loop over table to caluclate averages?
Check the following: B: quarterly ratios C:annual ratios D:overall average ratio for an arbitrary period rawdata = readtable...
3 mois ago | 0
| accepted