Answered
Why is my code returning the error "Index in position 1 exceeds array bounds" when calling adjacent()?
if adjacent(pCubes(1,:,:,:),a,b,c) % error here You are passing in a 1 x something x something by s...

12 months ago | 0

| accepted

Answered
Using RTX 5090 for GPU computing in forward compatibility
@Joss Knight who is Mathworks Staff with the Parallel Computing Toolbox, recently wrote https://www.mathworks.com/matlabcentral/...

12 months ago | 1

| accepted

Answered
Is there a good reason for choosing assert() over an if condition with an error?
My personal style is that assert() is mostly for conditions that should always be true contextually, with the assert() being dou...

12 months ago | 0

Answered
Which window is "on top"?
get(groot,'CurrentFigure') However, I do not know at the moment whether CurrentFigure includes figures whose handle visibility ...

12 months ago | 0

Answered
How to change the menu appearance in a gui created by GUIDE
You can make limited changes by coding (for example) set(groot, 'DefaultTextFontSize', 14)

12 months ago | 0

Answered
Please 🙏 help me to find the exact solution of ODE
syms C1 C2 y(x) dy = diff(y); d2y = diff(dy); eqn = y^2 * d2y + y*dy^2 - dy^2 + C1*y^4 + C2*y^3 == 0 dsolve(eqn)

12 months ago | 0

Answered
Difference between integral and cumtrapz.
integral() takes a function handle and does an adaptive quadrature numeric integration of the given function. The adaptive quadr...

12 months ago | 1

Answered
Is my CNN Correct
There are definitely more than 10 possible layers at any point. Your system has 12 layers. Therefore there are over 10^12 poss...

1 year ago | 0

Answered
why do I receiving MATLAB licensing error 5013
See https://www.mathworks.com/matlabcentral/answers/1815375-why-do-i-receive-error-5013-unable-to-access-services-required-to-ru...

1 year ago | 0

| accepted

Answered
I want to clip a contour output to the interior of a closed polygon
Create a polyshape() with the boundaries of the enclosing polygon. Use isinterior to test the x, y coordinate pairs implied by n...

1 year ago | 1

Answered
Nvidia GPU GeForce 5060-5090
Are the Nvidia GeForce RTX 5060, 5070, 5080 and 5090 compatibile with Matlab R2025a? NO. Given that R2025a was realeased six m...

1 year ago | 2

| accepted

Answered
2-D plots don't render correctly in Figures window
The partial line is because of a known bug, https://www.mathworks.com/matlabcentral/answers/2177698-strange-behaviour-of-plot#an...

1 year ago | 0

| accepted

Answered
Hold off in uitab does not seem to work?
ax = axes('parent',ft); Each time you execute that statment, you generate a new axes to plot in. You instead need some...

1 year ago | 0

Answered
Help with Inequalities In Switch Statement
To use inequalities in case statements, you need to provide a logical value to the switch statement. For example, switch true ...

1 year ago | 0

Answered
I am Currently using MALTAB using My college Email id...So whats the duration of this free software?
When you use MATLAB using your college email address, you are using a copy of MATLAB that has been licensed to the college thro...

1 year ago | 0

Answered
How do i fix the input to the 16 qam model not being bits
Use https://www.mathworks.com/help/simulink/slref/integertobitconverter.html on the output of the buffer.

1 year ago | 0

Answered
Problems plotting an implicit solution to a differential equation
syms y(x) eqn = diff(y) == (2*x+y+2)/(2*x+y-4); solutions = dsolve(eqn,x) impl1 = subs(solutions(1),[sym("C1"),x],[0,x]) imp...

1 year ago | 0

Answered
How to make MATLAB instance use specific CPU for parallel computing
https://www.how2shout.com/how-to/how-to-permanently-set-cpu-affinity-for-a-program-in-windows-11-or-10.html shows how to create ...

1 year ago | 0

Answered
Please help me, I want to graph this attached simple relation
The following is deliberately not exactly what you asked for, but illustrates the techniques you would use. Q = @(v) sym(v); a...

1 year ago | 1

Answered
details of fitnlm and statset
1) The 'Jacobian' statset() option is not relevant for fitnlm() The relevant options are listed at https://www.mathworks.com/h...

1 year ago | 0

| accepted

Answered
Configure a callback in App Designer to be non-interruptable
The secrets to making a function uninterruptible is: write the code all on one line. MATLAB checks for interrupts at the beginn...

1 year ago | 0

| accepted

Answered
What happened to line plots in Matlab 2025a?
The partial line is because of a known bug, https://www.mathworks.com/matlabcentral/answers/2177698-strange-behaviour-of-plot#an...

1 year ago | 1

Answered
How to convert color map into contour map?
YourImageArray = imread('Color map.jpg'); cropped_image = imcrop(YourImageArray, Crop_Rectange_Of_Image); cropped_colorbar = i...

1 year ago | 1

Answered
Matlab support flexera 11.19.6.3 and Windows server 2019 Licensing server?
MATLAB R2024a is not officially supported on Windows Server 2019; the last release that was officially supported on Windows Serv...

1 year ago | 0

Answered
what is the difference between pwd and cd ?
Both cd and pwd come from Unix. Historically cd in Unix was used to change directories, and had no ability to return the name o...

1 year ago | 1

Answered
Simulink parameters change during simulation from Matlab cmd line
It is not possible to change the parametrs of the running Simulink simulation model from Matlab command line while the model is ...

1 year ago | 0

Answered
Convert a decimal approximation to exact value symbolically
sympref('FloatingPointOutput',false); Will display an unevaluated int() form for your original problem, and will display 4/pi -...

1 year ago | 0

Answered
compiled matlab script where incorrect variables are passing
Note that double('1') so somehow you are getting a quoted 1 instead of a numeric 1. I would suggest trying matlab -nodisplay...

1 year ago | 0

Answered
solving a cubic equation
syms a b c d x sol = solve(a*x^3 + b*x^2 + c*x + d, x, 'maxdegree', 3) numsol = subs(sol, [a,b,c,d], [1.5, -2, 3/8, -5]) %...

1 year ago | 0

Answered
How to write a timetable to excel with rowtimes as dates without times?
For MacOS and Linux, it is not possible to PreserveFormat . About the best you can do on MacOS is to convert the timetable to ...

1 year ago | 0

Load more