已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 1

| 已接受

已回答
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...

1 year 前 | 0

已回答
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*...

1 year 前 | 1

已回答
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

1 year 前 | 1

已回答
Is it possible to customize the components in App Designer using CSS?
It depends on what you need, but uihtml is a good start.

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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 ...

1 year 前 | 0

| 已接受

已回答
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.

1 year 前 | 0

已回答
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...

1 year 前 | 1

| 已接受

已回答
Appearance of logical values in uitable
app.UITable.ColumnEditable = true;

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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 ; ...

1 year 前 | 2

| 已接受

已回答
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} =...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
extracting values from matlab double arrays
x1(x1 <= 1.5) x2(x2 <= 1.5) %... xn(xn <= 1.5)

1 year 前 | 0

| 已接受

已回答
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 ...

1 year 前 | 0

| 已接受

已回答
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 ...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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 ...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 1

已回答
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...

1 year 前 | 0

已回答
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) = ...

1 year 前 | 0

| 已接受

已回答
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 ...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

| 已接受

加载更多