Réponse apportée
Display pdeplot3D in Matlab App
In App Designer you need to defined the Axes. It looks like pdeplot3D does not have an input for Axes - it generates one with th...

plus de 4 ans il y a | 3

| A accepté

Réponse apportée
Creating mesh from volumetric array
Here I made a meshgrid and then created a 3D scatter plot with the intensity displayed as a color. % Randomly generate an volum...

plus de 4 ans il y a | 2

Réponse apportée
concatenate multiple 2D arrays to a 3D array for an image file.
[WhiteImg, colorMap] = imread('peppers.png'); Rlayer = ... WhiteImg( :, :, 1); Glayer = ... WhiteImg...

plus de 4 ans il y a | 0

Réponse apportée
How to delete a row from an array if a specified column has specified numbers?
A = round(10*rand(20,3)) for n = [5,6] A((A(:,2) == n),:) = []; end A

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Matlab App Designer UIAxes 2d Plot
Without knowing what you are plotting, all I can recommend is changing to a 2D view. You can do so as shown below. Note, in App ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How do I delete a callback function from an app in App Designer?
Does the callback text hightlight when you click it as shown below? Within App Designer, you can right click the callback und...

plus de 4 ans il y a | 10

| A accepté

Réponse apportée
How can I create a 3D intensity map, or 3D scatter plot where colour represents intensity?
The dimensions of the matrix, M, is 3x3x3. I am going to assume the third dimension is your x, y, and z coordinates, where 1 is ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to generate correct sine wave
== correct == fs = 50; t = 0:1/fs:1-1/fs; x = sin(2*pi*2*t); plot(t,x) == non-correct fs = 50; t = 0:1/fs:1-1/fs; x...

plus de 4 ans il y a | 0

Réponse apportée
How to show an image of labels in colors and show the colorbar
img = round(10*rand(512)); label2rgb(img); imshow(img) colorbar colormap('jet') caxis([1 10]) %You can change the range for...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
I want to drew a map based on longitude and latitude limits and i want the to see the countries borders
figure ax=axes; land = readgeotable("landareas.shp"); geoshow(land,"FaceColor",[0.15 0.5 0.15]) lakes = readgeotable("worldl...

plus de 4 ans il y a | 0

Réponse apportée
What does it mean if at the end of the instruction “; ” ?
"hello world" "hello world";

plus de 4 ans il y a | 0

Réponse apportée
How can I solve this error "Array indices must be positive integers or logical values." and make a condition to fix it as index?
mindistD > maxrange^2 and mindistD<maxrangeD2 gave no results. Is it suppose to be mindistD < maxrange^2 and mindistD>maxrangeD...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How can I move the result of the 'why' function into the editor window and store it into a variable?
You could edit the function to provide an output. open why change function why(n) to function a = why2(n) You can save thi...

plus de 4 ans il y a | 0

Réponse apportée
How to overlap several maps?
You could edit the colormap to make the land white. figure image colorbar colormap turbo figure(2) image colorbar cmap...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Create Matrix from Multiple Matrices
A = [1 2 3]; B = [4 5 6]; C = [7 8 9]; D = []; for i = A for ii = B for iii = C D = [D;i ii...

plus de 4 ans il y a | 0

Réponse apportée
Plot velocity over distance(plot over line) from the attached csv file?
I'm not quite sure what you are looking for, so here are some techniques: Load Data as table [filename, folder] = uigetfile(...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How to set front and back lines on plot with yyaxis left and right
That is interesting. While I try and figure out if there is a solution to this, you can fake it til you make it with this: x = ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Projecting a plot onto a second monitor through an App made in the App Designer.
Yes. There are multiple ways of doing this with App Designer. Below are two approaches. You can write a callback function that ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Vectorising Multiplying each column from a matrix with a square matrix and the tranpose of this column
Can you do the following? h = rand(2790,3591); Pn = rand(2790,2790); size(h'*Pn*h)

plus de 4 ans il y a | 1

Réponse apportée
Attached are the plots of a i get from a csv file imported to MATLAB. I want to declutter the plot (remove the noise captured by measuring instrument) zoom on in the data.
open('untitled2.fig') xlim([-0.5 2.5]) % changed domain min and max to zoom in. h=gca; % obtained handle of the current axes ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How do I make an app on appdesigner that when a button is pressed and the current time is later than an indicated time
You could create a pushbutton with the following callback: % Button pushed function: Button function ButtonP...

plus de 4 ans il y a | 0

Réponse apportée
How to make Slider in APP Designer to move automatically with the output value we calculated?
Yes, you could make two Edit Field (Numeric) components, one for A and the other representing B. You can add the following call...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
how to convert a 3D array into a n 2D arrays
A=rand(20,1000,30); for i = 1:20 B{i} = squeeze(A(i,:,:)); end B

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Error with parsing data from one window to another in app designer
I like to keep things simple and just read from main app. Main app (Analyzer): properties (Access = private) fr...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
X,Y cordinates in a Matrix
A = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

plus de 4 ans il y a | 1

Réponse apportée
Create Text Box in PowerPoint file
The following script was attached to the answer here: https://www.mathworks.com/matlabcentral/answers/99150-is-there-an-example-...

plus de 4 ans il y a | 0

Réponse apportée
Ploting (x,z) and (y,z) data on same plot
I'm not sure what you mean by the x and y measurements being separated by 1 meter. Below is a guess at want you want. Please cla...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How can I rotate a matrix 45 degrees?
C = [-6 -6 -7 0 7 6 6 -3 -3 0 0 -6; -7 2 1 8 1 2 -7 -7 -2 -2 -7 -7]; p = plot(C(1,:),C(2,:)); xlim([-10 10]); ylim([-10 10]);...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Is there a way to store x,y coordinates from the brush tool in app designer in an app designer edit field (2021b)?
Try the following to recieve the x and y coordinates. index = app.UIAxes.Children.BrushData; xcoord = app.UIAxes.Children.XDat...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
App Designer - How do I pass a structure or array from one app to another?
The link below demostrates how to communicate between apps when using app designer. https://www.mathworks.com/help/matlab/creat...

plus de 4 ans il y a | 0

| A accepté

Charger plus