Statistics
0 Questions
370 Answers
RANK
109
of 262.861
REPUTATION
1.030
CONTRIBUTIONS
0 Questions
370 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
83
RANK
of 17.992
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 113.839
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
Remove row if its value is not different enough from the value in the row above it.
Let A be your matrix, try the following: threshold = 100; A([false;(diff(A(:,1))<=threshold)],:)=[];
alrededor de 6 horas ago | 0
How to plot mutiple vertical lines over x axis ?
User function xline is easier.
alrededor de 1 mes ago | 0
how to remove arrows in streamslice plot?
Here: clc, clear, close; X = linspace(0,1.5); Z = linspace(-3,3); [z,x] = meshgrid(Z,X); ui = -0.04545*x.^2.*z; vi = x.*(-...
alrededor de 1 mes ago | 0
Gensurf / Axis Limitations
Try this: set(gca,'ZLim',[0 5]) or zlim([0 5]); % with bracket
alrededor de 1 mes ago | 0
Am I writing an image volume correctly from the Dicom files in a directory?
Looks good except the last two lines. You know the slice location may not be in a correct order and you sort it in the last lin...
alrededor de 1 mes ago | 0
Change data tip to your notation
If you would like to replace the name X,Y,Z to "Age", "Male", "Pron. dialog" respectively and display the same values, try the f...
alrededor de 1 mes ago | 0
3D - XRD plot
Let's see function plot3 can satisfy your requirement or not. figure; ax = gca; hold(ax,'on'); plot3(ax,SampleA(:,1),repelem...
alrededor de 1 mes ago | 0
How to reorder the List box items in created dialogue window?
Attached code for a listbox with move up button callback. If this is what you need, you may also implement the move down button...
alrededor de 1 mes ago | 0
| accepted
Displaying message in GUI
Use function <https://www.mathworks.com/help/matlab/ref/uiprogressdlg.html uiprogressdlg> or <https://www.mathworks.com/help/mat...
alrededor de 1 mes ago | 0
| accepted
Fit a spline function to a set of data points
Use function <https://www.mathworks.com/help/matlab/ref/spline.html spline>
alrededor de 1 mes ago | 0
How to table the data
Use function array2table A=[1 2 3 4 5 6 8 9 7 1 4 5 1 0 1]; T=...
alrededor de 1 mes ago | 0
| accepted
How to color an image
Try the following: I = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1052130/image.png'); BW = imbina...
alrededor de 2 meses ago | 0
Error adding DataTipRows to patch/fill
Try the following: figure; %Produce figure LATLONG.F1 = [0 1 1 0; 1 0 0 1]; %2x4 array ...
alrededor de 2 meses ago | 0
| accepted
How to implement Multi-Otsu Thresholding in matlab?
Use function <https://www.mathworks.com/help/images/ref/multithresh.html multithresh>
alrededor de 2 meses ago | 1
Adding additional information on plot tooltip
Use function <https://www.mathworks.com/help/matlab/ref/matlab.graphics.datatip.datatiptextrow.html dataTipTextRow>
alrededor de 2 meses 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
alrededor de 2 meses ago | 0
How to create multiple answers accepted questions in Matlab script?
Use function listdlg with multiple SelectionMode.
2 meses ago | 0
| accepted
Unrecognized function or variable 'm_equations'
Move the line function MorrisLecar to be the first line of your entire code.
2 meses ago | 0
Concatenate three-dimensional matrices
This is the third dimension, hence cat(3,A,B)
2 meses 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...
2 meses 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.
2 meses 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...
2 meses 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...
2 meses ago | 0
Merging Cell Array Elements with cellstr
Try this: merged = cellfun(@(x) cat(2,x{:}),num2cell(cell_temp,2),'UniformOutput',false)
2 meses 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...
2 meses 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...
2 meses 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',...
2 meses ago | 0
"regionprops" detecting one line only
load('s.mat') L1 = bwlabel(s); %vislabels(L1); % Ignore the user created funct...
2 meses ago | 0
| accepted
How to draw two plots in one figure?
Use function <https://www.mathworks.com/help/matlab/ref/yyaxis.html yyaxis>
3 meses 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])
4 meses ago | 0