Feeds
回答済み
Duplicate tab2 in tab3
You may refer the code inside the callback of <https://www.mathworks.com/matlabcentral/answers/1936364-how-to-reproduce-identica...
Duplicate tab2 in tab3
You may refer the code inside the callback of <https://www.mathworks.com/matlabcentral/answers/1936364-how-to-reproduce-identica...
11ヶ月 前 | 0
| 採用済み
回答済み
Convert dcm file to text file
You may use function dicomread to read the DICOM image. Then you can use function writematrix to write each frame into a text ...
Convert dcm file to text file
You may use function dicomread to read the DICOM image. Then you can use function writematrix to write each frame into a text ...
約1年 前 | 0
| 採用済み
回答済み
Exporting Matlab App Graphs
Use function getframe is an alternative option. It captures the screen according to the uitable position and put on a tradition...
Exporting Matlab App Graphs
Use function getframe is an alternative option. It captures the screen according to the uitable position and put on a tradition...
約1年 前 | 0
回答済み
change size of rectangles in full screen
Check this: https://www.mathworks.com/help/matlab/creating_guis/managing-resizable-apps-in-app-designer.html One way is to set...
change size of rectangles in full screen
Check this: https://www.mathworks.com/help/matlab/creating_guis/managing-resizable-apps-in-app-designer.html One way is to set...
約1年 前 | 0
回答済み
Filter Recommendation for Smoothing a Specific Signal
One possible way is to use function smoothdata. Since the data on variable x has duplicated data and the step size is not equal...
Filter Recommendation for Smoothing a Specific Signal
One possible way is to use function smoothdata. Since the data on variable x has duplicated data and the step size is not equal...
約1年 前 | 0
| 採用済み
回答済み
Change ylim of spectogram
It should divide by 1000. fs = 20000; n = 0:5*fs - 1; N = length(n); t = n/fs; fT = 1000; fM = 3; ...
Change ylim of spectogram
It should divide by 1000. fs = 20000; n = 0:5*fs - 1; N = length(n); t = n/fs; fT = 1000; fM = 3; ...
約1年 前 | 0
| 採用済み
回答済み
Same aspect ratio for the z-axis in a surface plot
As mentioned by Mathieu NOE in the comment section, your z-axis data is 1000 times smaller than the range of x and y-axes data. ...
Same aspect ratio for the z-axis in a surface plot
As mentioned by Mathieu NOE in the comment section, your z-axis data is 1000 times smaller than the range of x and y-axes data. ...
約1年 前 | 0
| 採用済み
回答済み
TAB GROUP in app designal : how to display keys vertically
Select TabLocation to left or right
TAB GROUP in app designal : how to display keys vertically
Select TabLocation to left or right
約1年 前 | 1
| 採用済み
回答済み
Matching datenum from multiple arrays
If your final goal is to extract the information from these 2 files with the same date and time, use function innerjoin. For th...
Matching datenum from multiple arrays
If your final goal is to extract the information from these 2 files with the same date and time, use function innerjoin. For th...
約1年 前 | 0
回答済み
resize Excel data matrix
Try this to see whether it is what you want. rawdata = readmatrix('https://www.mathworks.com/matlabcentral/answers/uploaded_fil...
resize Excel data matrix
Try this to see whether it is what you want. rawdata = readmatrix('https://www.mathworks.com/matlabcentral/answers/uploaded_fil...
約1年 前 | 0
| 採用済み
回答済み
How to thicken a line separately for the parallelplot of matlab?
Separate the data into two groups as follows: Age = randi(50,[100,1]); % Random data Height = randi(180,[10...
How to thicken a line separately for the parallelplot of matlab?
Separate the data into two groups as follows: Age = randi(50,[100,1]); % Random data Height = randi(180,[10...
約1年 前 | 1
| 採用済み
回答済み
How can I get DataCursor information from scatter plot using a callback function in app designer
The coordinates is stored in the property called IntersectionPoint belongs to the events in the ButtonDownFcn callback as shown ...
How can I get DataCursor information from scatter plot using a callback function in app designer
The coordinates is stored in the property called IntersectionPoint belongs to the events in the ButtonDownFcn callback as shown ...
約1年 前 | 0
回答済み
Transparent patches in the main figure, but no transparent patches in the legend
One possible way is to use dummy handles. N = 100; x = linspace(0,1,N); y1 = repmat([-2;2],1,N); y2 = repmat([-1;1],1,N); f...
Transparent patches in the main figure, but no transparent patches in the legend
One possible way is to use dummy handles. N = 100; x = linspace(0,1,N); y1 = repmat([-2;2],1,N); y2 = repmat([-1;1],1,N); f...
約1年 前 | 1
| 採用済み
回答済み
how to convert .mat file to .dcm file?
Try the following: rawdata = load('petnew.mat'); J = permute(rawdata.petnew, [1 2 4 3]); dicomwrite(J,'yourFile.dcm');
how to convert .mat file to .dcm file?
Try the following: rawdata = load('petnew.mat'); J = permute(rawdata.petnew, [1 2 4 3]); dicomwrite(J,'yourFile.dcm');
約1年 前 | 0
| 採用済み
回答済み
I can't draw the vector field
The spacing used in function gradient is 0.2, but the spacing in your data is 0.3 and hence it give you an error. Try using same...
I can't draw the vector field
The spacing used in function gradient is 0.2, but the spacing in your data is 0.3 and hence it give you an error. Try using same...
約1年 前 | 0
回答済み
y-axis with diffent scalings
Let's try use function yyaxis. Separate the data into two groups and plot the larger and smaller values using left and right y-...
y-axis with diffent scalings
Let's try use function yyaxis. Separate the data into two groups and plot the larger and smaller values using left and right y-...
約1年 前 | 0
回答済み
How to interpolate in 2d with the 3rd variable as a vector?
If you are using R2023a, you may use function fillmissing2. dt = [3.96 4.36 0.6 2.6 1.44 3.84 3.64 0.72]; x = [80 120 40 60 10...
How to interpolate in 2d with the 3rd variable as a vector?
If you are using R2023a, you may use function fillmissing2. dt = [3.96 4.36 0.6 2.6 1.44 3.84 3.64 0.72]; x = [80 120 40 60 10...
約1年 前 | 1
| 採用済み
回答済み
creating a warning dialog that wait until the user press ok, if the user press x the execution stops
One possible way is to use function uniconfirm. fig = uifigure; selection = uiconfirm(fig,'Overwrite existing excel file','Fil...
creating a warning dialog that wait until the user press ok, if the user press x the execution stops
One possible way is to use function uniconfirm. fig = uifigure; selection = uiconfirm(fig,'Overwrite existing excel file','Fil...
1年以上 前 | 1
| 採用済み
回答済み
Convert Pixel value to HU on MicroCT without the Rescale Slope and Rescale Intercept Attribute
The variable 'slice500' in your code is a matrix only, and hence you can display it as an image by using function imshow() or im...
Convert Pixel value to HU on MicroCT without the Rescale Slope and Rescale Intercept Attribute
The variable 'slice500' in your code is a matrix only, and hence you can display it as an image by using function imshow() or im...
1年以上 前 | 1
回答済み
How to save volshow(data,config) as fig or img [volumeViewer]?
In case a new window is open after using function volshow, you should be able to find the figure object and save the image using...
How to save volshow(data,config) as fig or img [volumeViewer]?
In case a new window is open after using function volshow, you should be able to find the figure object and save the image using...
1年以上 前 | 2
| 採用済み
回答済み
Viewer3d fullscreen position command not working?
Sorry that I was only guessed last night and recently tested on my laptop. The viewer3d object is act as a Children on a figure...
Viewer3d fullscreen position command not working?
Sorry that I was only guessed last night and recently tested on my laptop. The viewer3d object is act as a Children on a figure...
1年以上 前 | 0
| 採用済み
回答済み
How do I find the circularity of the bubbles in the sample IR image?
Check this: Revised Circularity Measurement in regionprops (R2023a) if you are using R2023a. Or check the answer from Steve Edd...
How do I find the circularity of the bubbles in the sample IR image?
Check this: Revised Circularity Measurement in regionprops (R2023a) if you are using R2023a. Or check the answer from Steve Edd...
1年以上 前 | 0
回答済み
Plotting the exact and numerical solutions on the same plot
Just add hold on f = @(t, x) (x-t^2+1); [t, x] = RK4Method(f, 0.5, 0, 2, 200); plot(t, x); xlabel('time'); ylabel('x'); ho...
Plotting the exact and numerical solutions on the same plot
Just add hold on f = @(t, x) (x-t^2+1); [t, x] = RK4Method(f, 0.5, 0, 2, 200); plot(t, x); xlabel('time'); ylabel('x'); ho...
1年以上 前 | 0
| 採用済み
回答済み
App designer: UIAxis ButtonDownFcn with key modifier?
You may combine several callbacks to achieve your goal. The attached example uses WIndowKeyPressFcn and WindowReleaseFcn from a...
App designer: UIAxis ButtonDownFcn with key modifier?
You may combine several callbacks to achieve your goal. The attached example uses WIndowKeyPressFcn and WindowReleaseFcn from a...
1年以上 前 | 1
回答済み
Resize font size automatically when app window size is enlarged
You may try to use SizeChangedFcn callback to adjust the font size as a workaround. The following example determine the new fon...
Resize font size automatically when app window size is enlarged
You may try to use SizeChangedFcn callback to adjust the font size as a workaround. The following example determine the new fon...
1年以上 前 | 0
質問
ocr not recognizing some numbers
Trying to use function ocr to extract some numbers from the attached image. Expected to have 9 numbers and the results have 8 n...
1年以上 前 | 3 件の回答 | 0
3
回答回答済み
setting limit for colormap
You may try to create a custom colormap using colormapeditor.
setting limit for colormap
You may try to create a custom colormap using colormapeditor.
1年以上 前 | 0
回答済み
Image Distortion after convert axial CT to sagittal view
The images are not isotropic and hence it is distorted. Use function imresize after you reconstruct the image from axial to sag...
Image Distortion after convert axial CT to sagittal view
The images are not isotropic and hence it is distorted. Use function imresize after you reconstruct the image from axial to sag...
1年以上 前 | 1
回答済み
How to create a plot with customized axis location?
You may move the axis to the origin by setting 'XAxisLocation', or 'YAxisLocation' property to 'origin'. Otherwise, you have to...
How to create a plot with customized axis location?
You may move the axis to the origin by setting 'XAxisLocation', or 'YAxisLocation' property to 'origin'. Otherwise, you have to...
1年以上 前 | 0
回答済み
How to reproduce identical tab whenever button is clicked?
Set the Callback of Button pushed function as follows: % Button pushed function: Button function duplicateTab(app, event) ...
How to reproduce identical tab whenever button is clicked?
Set the Callback of Button pushed function as follows: % Button pushed function: Button function duplicateTab(app, event) ...
1年以上 前 | 1
| 採用済み