Answered
Is it possible to change the type of a component in App Designer?
You could copy&paste the callback function of the edit field to that of the new spinner. You could rename the new spinner within...

3 years ago | 0

| accepted

Answered
How to add constant values above and below of each columns of a matrix?
VP = rand(100,106); extra50 = rand(50,106); NewVP = [extra50;VP;extra50]; size(VP) size(NewVP)

3 years ago | 0

| accepted

Answered
Change app designer default launch image
When you compile the app, you can select a custom splash screen. See more info here.

3 years ago | 0

| accepted

Answered
Can we add a vertical slider to trace points in a linked axis plot?
You could use stackedplot.

3 years ago | 1

| accepted

Answered
How do I plot lines/points on top of a heatmap?
1. The left and bottom variables in this code represents the coordinates of the bottom left portion of the heatmap graphic. To a...

3 years ago | 1

Answered
How to import a .xlsx file specified as filename and save it a .mat
You can use uigetfile function. If you want to load multifiles, you can use the input 'MultiSelect' and set it to 'on'. You can ...

3 years ago | 0

Answered
Calculating a new 3D point to align ocular implants in patient after orbital resection using facial landmarks
Here is a start. I found the euclidean distance between the new point and the other four points. I'm not sure what ratio constr...

3 years ago | 0

Answered
How to show a polar plot (Azimuth Pattern - Antenna) in MATLAB App Designer?
You can create a Panel and place the entire polaraxes in there with the following: h = gca; h.Parent =...

3 years ago | 0

| accepted

Answered
How to specify a parent UIplot for the plots that the bayesopt() funtion provides
I can think of a way of placing data into the app's UI once the bayeopt function has run. You could then immediately close of th...

3 years ago | 0

| accepted

Answered
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 ago | 0

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

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

3 years ago | 0

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

Answered
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 ago | 1

| accepted

Load more