Answered
Matlab live script - symbolic math looks terrible
Refering to https://www.mathworks.com/matlabcentral/answers/2143474-syms-suddenly-doesnt-work : You have installed a different ...

1 year ago | 0

| accepted

Answered
Syms suddenly doesnt work
Line 56 of syms in R2023b is comments -- the comments go to line 97. Therefore, you are not using the regular syms code. Perha...

1 year ago | 0

| accepted

Answered
Prevent changing values in GUI
But the problem is if I go inside the angle.Value and write some number not in range or limit of angle then even though the stat...

1 year ago | 0

Answered
Find overlap percentage of two plots
It is not clear to me that it makes sense to talk about "overlap" for stem plots. stem plots do not have any inherent dot size, ...

1 year ago | 0

Answered
Find Index of Selected Drop Down in another variable (App Designer)
The default Value property of uilistbox is the index of the item selected. If, though, the ItemsData property is set, then the V...

1 year ago | 0

Answered
Ho do I save the values of While at each hour?
Adjusted to save each iteration. A cell array is used because different iterations might run the while loop for different number...

1 year ago | 0

Answered
compute sum of polynomial square
syms x eqn = (1+x)^2 + (3+x)^2 +2*x expand(eqn)

1 year ago | 1

| accepted

Answered
How do I copy figure properties from one to another?
The below code sets all sensible properties. fig1 = openfig('Fig 1.fig'); fig2 = openfig('Fig 2.fig'); propnames = fieldnam...

1 year ago | 0

Answered
I want my code conditions checked every 1/2000th of a second, how can I do that?
You will not be able to pause() more accurately than 1/100 of a second on Windows. (On Mac it is about 1/1000 of a second.) The...

1 year ago | 0

Answered
Wrong font size for Default Axes Titles with set(groot,"DefaultAxesTitleFontSize")
Latex interpreter ignores font names. You control the font by using things like \mathrm \mathsf \mathit \textrm \textsf https...

1 year ago | 0

Answered
How to use all cores for running a Simulink model?
Simulink internally compiles down to a mix of algebraic and control operations. The algebraic operations are automatically opera...

1 year ago | 1

Answered
Reshape nested cell arrays into the a different nested cell array organization
No, there is no way to do it. Consider that you have your B 48 x 1 for each A 691 x 1. So there are 48*691 = 33168 different B....

1 year ago | 0

| accepted

Answered
Plotting two surface plots in the same figure using two different colormaps
You have two choices: Use seperate plotting axes. Each axes can have its own colormap. Make sure you pass the axes handle into ...

1 year ago | 0

Answered
wt is the Activation Key for activating MATLAB Simulink
The activation key is LULTR-43226-JEQHE-95758-TMSRD If this does not work for you, then you should contact Mathworks for free ...

1 year ago | 0

Answered
My question is what is the value i am getting as the output of my code.
You are getting garbage values, for a garbage query. You have used floating point quantities in a symbolic equation. You have u...

1 year ago | 1

Answered
How to treat 200 rows of data as an event when constructing a Timetable, as a piece of data, the size is 200*1
If your data is all numeric (or convertable to numeric), then: Use mat2cell to convert the data into a cell array whose entries...

1 year ago | 1

| accepted

Answered
How do I write an excel file with specified formats for my data entries?
No. You will need to use something like varfun to convert your numbers to appropriate text. Leaving aside the ##0.00E+0, the p...

1 year ago | 0

Answered
What does "Interrupt while evaluating Button PrivateButtonPushedFcn." mean?
It means that you pressed control-C while the callback for PrivateButtonPushedFcn was active.

1 year ago | 0

| accepted

Answered
How to Sort Matrix Rows from Highest to Lowest
MatrixA = cell(3,2); MatrixA{1,1} = "D1"; MatrixA{2,1} = "D2"; MatrixA{3,1} = "D3"; MatrixA{1,2} = 5; MatrixA{2,2} = 15; M...

1 year ago | 1

Answered
How to import 'kfoldPredict' for old version matlab (2023a)
When you specify method 'Bag' for fitcensemble() then the output is a ClassificationBaggedEnsemble . kfoldPredict() does not ac...

1 year ago | 0

Answered
Divide Matrix into smaller matrices
A_cell = mat2cell(A1000_Matrix, 20*ones(1,size(A1000_Matrix,1)/20)), size(A1000_Matrix,2)); Now access A_cell{1}, A_cell{2} and...

1 year ago | 0

Answered
I face a problem with the dimensions of Z as it should be a 2x2 matrix.
d = 10; g = 0.085; d and g are scalars su = round(4 * d / g) + 1; su is formed from scalar d and g, so su is scalar r = E((...

1 year ago | 0

Answered
Please help me understand output from discretize
X=[.01:.01:1] ; % - example data uniformly going form .01 to 1 in steps of .01 binEdges=[0:0.01:1]; %- the bind edges X - ...

1 year ago | 1

Answered
average values from .cvs file and plot
data1 = readtable('datos.csv', 'VariableNamingRule','preserve'); MyDateTime = data1.Date + data1.Time; MyDateTime.Format = 'yy...

1 year ago | 0

| accepted

Answered
How to Graph integrals?
b is not defined. This is the same problem as you had for your previous iteration of this question (which you have deleted.) I ...

1 year ago | 0

Answered
license function can't list Computer Vision Toolbox™?
license('test', 'Video_and_Image_Blockset') See https://www.mathworks.com/matlabcentral/answers/449314-how-do-features-from-lic...

1 year ago | 0

| accepted

Answered
Having Boxplot problem with not defined double type
You do not have the Statistics Toolbox installed or licensed.

1 year ago | 1

Answered
When will the transition from Java to Javascript be complete?
When will the transition from Java to Javascript be complete? 19 January 2038

1 year ago | 2

Answered
Get singular sagittal slice from nifti file saved as axial slices
Example L1 = load_nii('lung_029.nii'); S = size(L1.img); r1 = randi(S(1)); r2 = randi(S(2)); r3 = randi(S(3)); view1 =...

1 year ago | 0

Answered
Code Generation from script file
You cannot do that. Code cannot be generated for script files. Code generation requires an entry point (a function)

1 year ago | 0

Load more