已回答
how can i plot stft in app designer
Below is a workaround to get the stft plot into your UIAxes. Please see app attached. freq= 30; [y,Fs]...

3 years 前 | 0

已回答
Export part of Matlab app as Image
You can try Img = getframe(app.UIFigure) Img = Img.cdata imwrite(Img,'filename.png') or Img = getframe(app.UIAxes) Img = I...

3 years 前 | 1

| 已接受

已回答
UIAxes Data Tip interaction
You could change line 450 in datacursormode from setptr(gcf,'datacursor') to setptr(gcf,'circle') or just comment out the l...

3 years 前 | 0

| 已接受

已回答
Maximum value of matrix
% Generate random matrix N = 34; M = 23; A = rand(N,M); % Sort from highest to lowest values = sort(abs(A(:)), 'desce...

3 years 前 | 0

| 已接受

已回答
for some reasons this code doesnt want to work, what i am doing wrong here please help
What issues are you having with the code? The function doesn't produce any errors for me. Are the answers unexpected? [savin...

3 years 前 | 1

| 已接受

已回答
DataTip is shown far from the selected data sample. How can I fix it ?
I ran the provided app in R2021b and had the same issue. I ran the provided app in R2022b and it was resolved. I would s...

3 years 前 | 0

已回答
How can I plot the antenna array pattern/ the 3D pattern plot in MATLAB App Developer without plotting the figures in a new window?
You can add the following as a workaround (See app attached for an example): h = gca; app.UIAxes.XLabe...

3 years 前 | 1

| 已接受

已回答
Area integration with the point where the mouse selected
You could also use a slider and some buttons in an app to select the area of interest. See App attached.

3 years 前 | 0

已回答
How i can filter browse button by some string
You can add the name before the * as shown below. Somename = 'example_PIKO_'; somePath=uigetdir(pwd,'Select a folder'); files...

3 years 前 | 0

已回答
Self contained Matlab Program
When you package your app, you can select "Runtime included in package". You can also add other files to the package by click...

3 years 前 | 0

已回答
How to plot with bar3 plot in MATLAB?
B = [86, 82, 80]; B2 = [91, 88, 85]; B3 = [98, 95, 89]; z = [B; B2; B3]'; environment = ["30*30", "50*50", "100*100"]; b = ...

3 years 前 | 0

已回答
Grab a file without writting full name
Can you try this? folder = [basePath{1},filesep,'binaries']; % I'm assuming this is the folder location firmwareFiles = dir(fu...

3 years 前 | 0

已回答
Index in position 1 is invalid. Array indices must be positive integers or logical values. i am getting this error for averaging filter
i=imread('peppers.png'); [m n]=size(i) mask=ones(3,3)/9; in=zeros([m n]); for k=1:1:m-1 for l=1:1:n-1 t=i(k-1...

3 years 前 | 0

| 已接受

已回答
change color when i plot more surface fit
fig10=figure(10); xData = rand(30,1); yData = rand(30,1); zData = rand(30,1); ft = fittype( 'poly44' ); opts = fitoptio...

3 years 前 | 0

已回答
hello i want to make a sinusoidal graph please help
t=-pi/2:(pi/2)/1000:pi/2; X = 6*cos(2*pi*20*t) + 2*sin(2*pi*10*t); plot(t,X) title('Sinusoidal Graph') or figure t=linspac...

3 years 前 | 1

| 已接受

已回答
Add two figures in the one single plot
tiledlayout(2,1) nexttile scatter(rand(10,1),rand(10,1),'sr') nexttile scatter(rand(10,1),rand(10,1),'gh') You can also u...

3 years 前 | 0

已回答
Unrecognized property 'f' for class 'Graduation_project_awni_and_mazen' idont what to do with this error help please.
Have you tried to change properties (Access = private) to properties (Access = public) to see if the property variable f ca...

3 years 前 | 0

已回答
writetable for a double entry table
writetable(B,'B.csv','WriteRowNames',true);

3 years 前 | 0

| 已接受

已回答
Within a GUI created with App Designer can I call a function associated with one button inside the code for a different button?
When you create a new function, you can just call that function. function differentButton(app, event) EXIT(app) end

3 years 前 | 0

| 已接受

已回答
creating a multiple dimensional timetable
Yes, you can merge them into one timetable using innerjoin. The sensors can even have different sampling rates or have duplicate...

3 years 前 | 0

已回答
How can I create multiple arrays from 2 separate arrays?
Is this what you were trying to do? A = [1,3,5,7]; B = [2,4,6,8]; for i = 1:length(A) array(i,:) = A(i):0.1:B(i); end ...

3 years 前 | 1

| 已接受

已回答
Imported data becomes NaN
I would suggest using the Import Data button found on the toolstrip. After selecting the Excel spreadsheet to open, it should...

3 years 前 | 0

已回答
App Designer how to set value for edit field (numeric)
If the SecondWindow is an app that was called from the mainapp. You will need to call the property value from the mainapp. The c...

3 years 前 | 1

| 已接受

已回答
Button widening effect - app designer
I would recommend using grid layout and using a fixed size for segment containing your button.

3 years 前 | 0

已回答
Is it possible to use MatLab to make a interactive visualization?
Serhat, Please see the app and the Live Script attached. Let me know if that is what you were looking for. If you are look...

3 years 前 | 1

| 已接受

已回答
I would like to plot few values of a vector based on threshold setting from another vector.
x=[1 2 3 4 5 6 7 8 9 10]; y=[1 2 3 4 5 6 7 8 9 10]; x(y>3 & y<5) y(y>3 & y<5) figure plot(x(y>3 & y<5),y(y>3 & y<5),'r') f...

3 years 前 | 0

已回答
ROI in video using the first frame
Read video and have user define Circle ROI: v = VideoReader('xylophone.mp4'); frame = readFrame(v); imshow(frame) c = drawci...

3 years 前 | 3

| 已接受

已回答
if column 1 is nan, make corresponding number in column2 nan
Period = [1:1:100]'; F = [201:1:300]'; A=[Period F]; % a random matrix Data = A; percent_miss = 0.1; nTime = length(Period)...

3 years 前 | 0

已回答
Looking to identify a football from an image
RGB = imread('YourImage.png'); % Convert RGB image to lab space I = rgb2lab(RGB); % Apply thresholds BW = (I(:,:,1) >= 1...

3 years 前 | 1

已回答
Height of circular shape
You could use regionprops to find the major axis length. Or did you need the length of the object in the y-direction? What do yo...

3 years 前 | 0

| 已接受

加载更多