Réponse apportée
Can I use a list box to choose several alternatives from the listed ones?
You can use a uilistbox and select multiple items using the Multiselect fig = uifigure('Position',[100 100 350 275]); % Creat...

plus d'un an il y a | 0

Réponse apportée
Mapping a smaller matrix to a larger matrix
k = ones(4); kprime = zeros(8); krow = [7 8 1 2]; kcol = [7; 8; 1; 2]; kprime(krow,kcol) = k; Not sure where the k'(5,1) va...

plus d'un an il y a | 1

| A accepté

Réponse apportée
I would like to plot several histograms in 3D using Matlab like in the below figure. Does anyone have any suggestions?
Check out the solution in the link below. How to plot multidimensional array in one axes like sequence of images? - MATLAB Answ...

plus d'un an il y a | 0

Réponse apportée
How to plot a trajectory with varying colour?
I don't think there is a way to do this using just one plot. My quick solution would be to do something like this x = 0:0.05:2*...

plus d'un an il y a | 1

Réponse apportée
How do I launch the Radar Toolbox from within Matlab?
Are you trying to use the Radar Designer app? If so, just type this into your command window radarDesigner

plus d'un an il y a | 1

Réponse apportée
Is it possible to customize the components in App Designer using CSS?
It depends on what you need, but uihtml is a good start.

plus d'un an il y a | 0

| A accepté

Réponse apportée
Customize box texture in boxchart
As of R2022b, there is no built in method to change the BoxFaceColor to something other than a solid color. The File Exchange ha...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to interpolate with a polynom in 3D?
Use interp2. Here's an example x = 0.1:0.1:1; %sample x data y = transpose(1:10); %sample y data z = sin(x) - y.^x; %sample z...

plus d'un an il y a | 0

Réponse apportée
MATLAB Appdesigner custom installer does not create shortcut to the Windows desktop
When you compile your App Designer code, there will be output folders containing your compiled code. You can copy your executabl...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Change the check box value of a Matlab Tree Node Check Box via code
Can you not make them second level nodes? fig = uifigure; cbt = uitree(fig,'checkbox','Position',[20 20 150 150]); % First ...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to divide a dataset into two subsamples?
Try deleting this line LOSS_1=LOSS; If that doesn't work, paste your data for LOSS and ATTORNEY.

plus d'un an il y a | 0

Réponse apportée
How do I plot a discrete set of points say [x1,x2,...,xn] along the real line?
A = gallery('lehmer',4); %example data x = eig(A); %your eigenvalues yValue = 0; %you can make this 1 or whatever you want pl...

plus d'un an il y a | 1

| A accepté

Réponse apportée
Appearance of logical values in uitable
app.UITable.ColumnEditable = true;

plus d'un an il y a | 0

Réponse apportée
Plot horizontal line over existing plot (on same figure)
You didn't specify what the y value of your graph needs to be, but you can take the information in this post and adjust it as ne...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Extracting UITable data for statistical analysis in the app designer
This worked for me function ButtonPushed(app, event) app.UITable.Data = rand(200,4); app.EditField.Value = mean(app.U...

plus d'un an il y a | 0

Réponse apportée
Why does the order of calculation change the result?
It looks like the main differences between the two are Ltot, dz, and Ip. The variable Ip is especially weird. Which of these wer...

plus d'un an il y a | 0

Réponse apportée
How can I calculate Global stiffness matrix?
I don't remember everything from my FEA classes, but I think this is what you're looking for C = zeros(6,6); A = [ 1 2 3 4 ; ...

plus d'un an il y a | 2

| A accepté

Réponse apportée
How do you plot elements of a cell array?
Loop through your cells and use the hold on then hold off command. cellData{1} = [(1:20)',(1:20)' + rand(20,1)]; cellData{2} =...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Get my X and Y values from curve fitting tool
If you are using the Curve Fitting App, go to Export in the top right and select Export to Workspace. Then select OK, and your i...

plus d'un an il y a | 0

Réponse apportée
extracting values from matlab double arrays
x1(x1 <= 1.5) x2(x2 <= 1.5) %... xn(xn <= 1.5)

plus d'un an il y a | 0

| A accepté

Réponse apportée
what does this error mean and why cant i use the if function i use it in another function and it worked
You need to close your if statement. You can't leave it without putting "end" to signify where the if statement stops if %some ...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to convert cell to matrix with different size of cell
Well the size of the data isn't the same. In the first cell, it is 6,760 rows and the second is 6,761 rows. So it can't combine ...

plus d'un an il y a | 0

Réponse apportée
How to make a graph with x-axis at top and data points relative to y-axis with a straight line joined scatter?
You can do something like this x = 1:10; %x data y = x + round(rand(1,length(x)),2); %random y data p = plot(x,y,'-o'); %plot...

plus d'un an il y a | 0

Réponse apportée
How to zoom on the mouse pointer
I'll post how I was able to do what you're asking. For your application, there may be a slight difference because you are using ...

plus d'un an il y a | 0

| A accepté

Réponse apportée
nxm matrix function with zeros and ones
You probably want to name it something other than "square" which is already a MATLAB function. You're off to a good start though...

plus d'un an il y a | 1

Réponse apportée
I would like to rename a 100 jpg images name at once
OldNames = "IMG1 " + transpose(string(1:10758)) + ").jpg.jpg"; OldNames(1:9,1) = "IMG1 0" + transpose(string(1:9)) + ").jpg.jpg...

plus d'un an il y a | 0

Réponse apportée
How to plot multidimensional array in one axes like sequence of images?
You can manually make some of these plots like this t = 0:0.1:10; z1 = sin(t); z1(z1 < 0) = 0; z2 = sin(t-1); z2(z2 < 0) = ...

plus d'un an il y a | 0

| A accepté

Réponse apportée
select points in a plot with the mouse
Are you using a UIAxes to show your image? If so, you can do something like this: function UIAxesButtonDown(app, event) C ...

plus d'un an il y a | 0

Réponse apportée
Pass variables/structure to .mlapp (GUI/App designer)
evalin and assignin are the functions that should help. For example, if you are running App Designer and you have a variable cal...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Adding a Border to my map using Mapping Toolbox
Here's a start. I saved the picture you posted as "image.png". You may have to adjust the fig.Position vector to size it correct...

plus d'un an il y a | 0

| A accepté

Charger plus