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

alrededor de 1 mes hace | 1

| aceptada

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

alrededor de 1 mes hace | 1

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 1

| aceptada

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 1

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 1

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

| aceptada

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

| aceptada

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

| aceptada

Respondida
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

alrededor de 2 meses hace | 0

| aceptada

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

| aceptada

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

| aceptada

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

alrededor de 2 meses hace | 0

Cargar más