Answered
How Can I remove lines from the below images?
Try this: clear; clc; data = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/928744/Stryker_Triathlon%2...

3 years ago | 0

Answered
Starting my x-axis values not from zero
Modify like the following for each plot. figure h = plot(jT,V_cell); % Get the data (Modify) ax=gca; ...

3 years ago | 0

Answered
how to isolate harmonic component from figure
Try the following to see whether this is what you want or not. clear; clc; load('xx.mat'); x = 1:length(xx); % Separate enti...

3 years ago | 0

| accepted

Answered
How to extract the radial profile in 'quarter' of circle?
You may extarct the values of the radial profiles from variable 'display_profile' according to the code below. It is a little b...

3 years ago | 1

Answered
Error using dicom_getFileDetails. Unable to load file .dcm
Use function fullfile to indicate the full path to the file. filename = 'IM-001.dcm'; selpath = uigetdir(pwd,'Select image fol...

3 years ago | 1

Answered
findout coordinate from plot
Check function datacursormode. I copy the example from the documentation and you can implement it into your code: clear; clc; ...

3 years ago | 0

Answered
Does not plot all the points
(1) Use function scatter instead of plot (2) Some of the header or some other information were saved in the mat file ( I guess ...

3 years ago | 1

| accepted

Answered
Why my "arraystore" will change the dimension of the images data set
For your case where the data are images, better to use the following: The default ReadSize is 1 and hence it reads only 1 row o...

3 years ago | 0

| accepted

Answered
How to overlap 2 graph on a single figure, one of them is a dynamic, changing in each step?
Update the black dot position in the for loop as follows: f = figure; ax = gca; x1 = xline(ax,6); % Sim...

3 years ago | 1

| accepted

Answered
Polarplot all positive values of the angle theta
Workaround by modifying the TickLabel as follows: theta = linspace(-pi,pi,1000); theta_deg = rad2deg(theta); EF = cos(theta);...

3 years ago | 0

| accepted

Answered
Rescale values based on a particular value
Try the following: data = readmatrix('https://www.mathworks.com/matlabcentral/answers/uploaded_files/925044/w3.csv'); rescale_...

3 years ago | 1

| accepted

Answered
error while executing boundingbox method
Function imshow shows a cropped image 'imcrp' from original image 'b', so the size of the displayed image is smaller. However, ...

3 years ago | 0

Answered
New here, i cannot figure it out ( Index exceeds the number of array elements (2). )
The labeledImage is based on 'bwn1' and I think you should also use 'bwn1' instead of 'bw' when finding their boundaries. [~, c...

3 years ago | 0

Answered
Diagonal cross section of function z(x,y) for x=y
Easier to assign some values where x=y in function meshgrid as follows: If the assigned values for x and y are different, then ...

3 years ago | 0

Answered
Get clim values from colormap and adjust them in real time
Use clim(app.UIAxes2_5,[cmin cmax])

3 years ago | 0

Answered
Probing a plot based on colormap information
Try function datatip & dataTipTextRow if your MATLAB version is after 2019b. [x,y] = meshgrid(1:15,1:15); z = peaks(15); T = ...

3 years ago | 1

| accepted

Answered
When using two separate edit fields in Matlab app designer, how to save both into a text file?
Use Writemode with append: writematrix(value, 'feedback.txt', 'WriteMode','append')

3 years ago | 0

Answered
How to save to a csv file?
Try the following: writetable(Dot1.Stats, 'sq_Dot1.csv','WriteMode','Append');

3 years ago | 0

| accepted

Answered
Plotting a heatmap with collected data
Use function pcolor is another option. clear;clc; im = imread('map.png'); [Ny,Nx,Nc] = size(im); f = figure(1); ax = gca; ...

3 years ago | 1

| accepted

Answered
Transform table to another format
Use function stack is another option. clear;clc; Headers = ["Fund1";"Fund2";"Fund3"]; Fund1 = [1;0.1;0.2]; Fund2 = [0.3;1;0....

3 years ago | 1

| accepted

Answered
Heatmap - multiple values in same cell
Not writing data to the same cell, but writing to separate cells as a workaround: Manually change the YDisplayLabel to let the ...

3 years ago | 0

Answered
Fit curve edge and determine curvature
Use function polyfit with higher degree. data = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/918279/5...

3 years ago | 0

Answered
how to copy a specific files from one folder to another folder?
Try the following: filePattern = fullfile('E:\SNR-Dataset\DATA-11-time\time-data-training\8PSK\8PSK', '*.mat'); dest = 'E:\SNR...

3 years ago | 0

Answered
Greetings dear friends, I am trying to change some variables in the indicated code to get the waves that can be seen in the 3D graph, thanks for your help!
Better to check the limits to generate your sample figure. Looks like from -3pi to 3pi as shown below: As the limits goes to in...

3 years ago | 0

| accepted

Answered
intersection of 3d convex hull
Have a quick look on the function and I suspect you should use transpose of V{1} and V{2} as the input arguments S=(intersectio...

3 years ago | 0

| accepted

Answered
Does regionprops function work in Matlab App designer
You are extracting something less than or equals to the lower bound (example < 100), and then extracting the resulting image wit...

3 years ago | 0

| accepted

Answered
How to read Harvard Medical MRI images which are in .gif format?
Save it as png file and open it data = imread('1.png'); imshow(data)

3 years ago | 0

Answered
how to store each for loop values in multidimensional matrix?
Try to use a cell array to store the result as follows: zn = 3; % no. of planes zmax = 200; % z max zmin = 100; % z min zA =...

3 years ago | 0

| accepted

Answered
How a table columns are named using MATALB
Something like the following may be similar to what you want. clear; clc; combine_vector = randi(10,5,10); Title1 = array2tab...

3 years ago | 0

| accepted

Load more