Réponse apportée
Putting a cell into a .mat file
save('test.mat', 'ImagesToSave')

environ 2 ans il y a | 0

Réponse apportée
How to use data cursor mode to display data tips for multiple plots in a tiled layout?
If you are interested in the datatips information. You can acces the information from the Children subfield of the Scatter plot,...

environ 2 ans il y a | 0

Réponse apportée
mapping between two different matrices
a=[1 2;3 4;5 6] b=[1 2 3;1 2 3;1 2 3;1 2 3;1 2 3] index = 3; output = yourmap(a,b,index) index = 6; output = yourmap(a,b,in...

environ 2 ans il y a | 1

Réponse apportée
How to find max value for a function between 2 specified values
x = 0:0.1:2*pi; y = sin(x); plot(x,y) [maxvalue,index] = max(y(1:length(0:0.1:pi))) x(index)

environ 2 ans il y a | 0

Réponse apportée
Find (local?) maxima when two maxima are adjacent to each other (maybe using islocalmax or findpeaks?)
If it wasn't on the edge, you could use the following: freq = [37 37 23 1 1 1]; m = islocalmax(freq,'FlatSelection','all') wo...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
How to determine if the user closed the app window?
When you run the app in your main script, you could assign a variable to its handle. app = YourApp; You can check if it is del...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Increase column width of a Tiltedlayout
F = figure('Renderer', 'painters', 'Position', [65 200 1250 680]); t = tiledlayout(6,3,'TileSpacing',"compact"); [X,Y,Z] = pea...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
In a video inserted in a UIAxis, fix the position once the app running and also, delete the edit buttons of zoom, pan, home...
You can uncheck "Toolbar:Visible" under app.UIAxes within the Component Browser. See image below.

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Hello, I am trying to get the X and Y values from a Plot. This plot is generated from a loop, and the plot represents the boundary of an image..
% The image I am trying to read A = imread('Britain.png'); % The boundaries around the image BW = im2bw(A); [B,L] = bwbou...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Matlab app designer spectrogram
N = 1024; n = 0:N-1; w0 = 2*pi/5; x = sin(w0*n)+10*sin(2*w0*n); Executing the spectrogram function with an output does n...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to draw 2d compass in 3d UIAxes
It is possible to place the compass rose in a 3D uiaxes. Did you want to plot something in addition to this? If so, you may have...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
I have a problem with appdesigner, can you help me?
If the checkbox is checked, it would have a value of 1. Otherwise, it would have a value of 0. The value can be found with the ...

environ 2 ans il y a | 1

Réponse apportée
Trying to plot a function with adjustable variables in app designer
2.) I have a function .m file that successfully graphs what I need it to. Is there a way for me to reference that in the app? Y...

environ 2 ans il y a | 0

Réponse apportée
why is the text field in app2 not showing the value I want it to show..?
Please see app2 attached. I changed two lines. You did not have a uitextarea component called "EnterthenragainTextArea" but rath...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
write a coordinate obtained by clicking on a graphic appdesigner
It looks like your callback event "WindowMousePress" may not be triggered. You could add a callback function to your UIAxes as s...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
appdesigner : error in a code when playing frames of a video with a slider
It looks like you are using imshow with a double. imshow(app.AllFrames(:,:,:,idx),'Parent',app.video) If you have an 8...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
how to pass matrix as argument from app to app 2 in app designer
See the link below and let me know if you have any questions. Share Data in Multiwindow Apps

environ 2 ans il y a | 0

Réponse apportée
Multiple Row Xlabels in Matlab App Designer UIFigure UIAxes
fig = figure; app.UIAxes = uiaxes(fig); You can place the following line in the startup function of your app. xlabel(app.UIAx...

environ 2 ans il y a | 1

Réponse apportée
Why do I get NaNs when I try to enter characters in my UITABLE object?
Here is a quick workaround. Before loading data into the UITable, you can run the command below to make all the columns strings ...

environ 2 ans il y a | 0

Réponse apportée
app designer: How can I choose the graphs that I want to be displayed?
Attached is an example using the ListBox approach that Eric mentioned. I also included an app that highlights the selected lines...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
app designer: save a point on a graph when you click on it
You could create a listener that tracks the position of your mouse within you axes (app.UIAxes) and then save the x and y coordi...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How do I export an animated figure to some video format for use in a presentation?
Daniel, Please see the files attached and the code below. Saving the video should be faster when the figure's "Visible" prope...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to modify with the mouse a graph generated in an axes of App Designer?
You could use listeners. See app and function attached for a simple example.

environ 2 ans il y a | 0

Réponse apportée
I have 2 columns, i want to find the maximum in the second column and then know what value it is next to on the first column
Generate data M = rand(1221,2)*1000; Find max value and it's index in rows 651 to 1221 in the 2nd column of M. [maxvalue, ind...

environ 2 ans il y a | 0

Réponse apportée
Maximize button in App Designer
I would use Grid Layout.

environ 2 ans il y a | 0

| A accepté

Réponse apportée
SOS! PLEASE SAVE MY CODE:
Instead of trying to figure out how you calculated the areas. I used the following approach to find the masks: fig = figure; ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to stop popping up of plot figures unnecessarily in Matlab app designer?
If it is due to a plot function, you need to define the uiaxes for the plot. such as: plot(app.UIAxes,x,y)

environ 2 ans il y a | 0

Réponse apportée
How to superimpose one image on another in UI Axes of Matlab app designer?
Try the following: [~,~,NR_wells] = well_finder(I_final,2); hold(app.UIAxes,'on') for c = 1:NR_wells rectangle...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
how to use elements from array to sort data
numdata = [1500 1500 500 1500 500 2500; 850 850 200 850 200 1000; 2800 2800 1700 2800 1700 5200; 500 500 300 500 300 3000; 1...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
trying to make a donut mask to span over images, suggestions?
RGBImage = imread("peppers.png"); imshow(RGBImage) size(RGBImage) width = 300; height = 300; [x,y] = meshgrid(1:width, 1:he...

environ 2 ans il y a | 3

| A accepté

Charger plus