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

casi 4 años hace | 0

Respondida
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; ...

casi 4 años hace | 0

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

casi 4 años hace | 0

| aceptada

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

casi 4 años hace | 1

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

casi 4 años hace | 1

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

casi 4 años hace | 0

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

casi 4 años hace | 1

| aceptada

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

casi 4 años hace | 0

| aceptada

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

casi 4 años hace | 1

| aceptada

Respondida
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);...

casi 4 años hace | 0

| aceptada

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

casi 4 años hace | 1

| aceptada

Respondida
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, ...

casi 4 años hace | 0

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

casi 4 años hace | 0

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

casi 4 años hace | 0

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

casi 4 años hace | 0

Respondida
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 = ...

casi 4 años hace | 1

| aceptada

Respondida
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')

casi 4 años hace | 0

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

casi 4 años hace | 0

| aceptada

Respondida
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; ...

casi 4 años hace | 1

| aceptada

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

casi 4 años hace | 1

| aceptada

Respondida
convert cell array to double error: Dimensions of arrays being concatenated are not consistent.
Use function str2double

casi 4 años hace | 0

| aceptada

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

casi 4 años hace | 0

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

casi 4 años hace | 0

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

casi 4 años hace | 0

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

casi 4 años hace | 0

| aceptada

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

casi 4 años hace | 0

| aceptada

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

casi 4 años hace | 0

| aceptada

Respondida
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)

casi 4 años hace | 0

Respondida
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 =...

casi 4 años hace | 0

| aceptada

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

casi 4 años hace | 0

| aceptada

Cargar más